fidl_fuchsia_media_sessions2

Trait ObserverDiscoveryProxyInterface

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

Required Methods§

Source

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

Source

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

Implementors§