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