pub trait LocalViewProducerClient: Send + Sync {
// Required methods
fn new_view(
&mut self,
view_provider: ClientEnd<ViewProviderMarker>,
view_id: u32,
);
fn shutdown_view(&mut self, view_id: u32);
}
Required Methods§
Sourcefn new_view(
&mut self,
view_provider: ClientEnd<ViewProviderMarker>,
view_id: u32,
)
fn new_view( &mut self, view_provider: ClientEnd<ViewProviderMarker>, view_id: u32, )
Notifes the view producer client that a new view has been created.
§Parameters
view_provider
: The view provider associated with the new view.view_id
: The identifier for the view that was created.
Sourcefn shutdown_view(&mut self, view_id: u32)
fn shutdown_view(&mut self, view_id: u32)
Notifies the ViewProducer client that the view with view_id
is being shut down.