pub type StreamEndpointUpdateCallback = Box<dyn Fn(&StreamEndpoint) + Sync + Send>;
struct StreamEndpointUpdateCallback(/* private fields */);