fidl_fuchsia_media_sessions2

Trait DiscoveryProxyInterface

Source
pub trait DiscoveryProxyInterface: Send + Sync {
    // Required methods
    fn watch_sessions(
        &self,
        watch_options: &WatchOptions,
        session_watcher: ClientEnd<SessionsWatcherMarker>,
    ) -> Result<(), Error>;
    fn connect_to_session(
        &self,
        session_id: u64,
        session_control_request: ServerEnd<SessionControlMarker>,
    ) -> Result<(), Error>;
}

Required Methods§

Source

fn watch_sessions( &self, watch_options: &WatchOptions, session_watcher: ClientEnd<SessionsWatcherMarker>, ) -> Result<(), Error>

Source

fn connect_to_session( &self, session_id: u64, session_control_request: ServerEnd<SessionControlMarker>, ) -> Result<(), Error>

Implementors§