pub trait SessionsWatcherProxyInterface: Send + Sync {
    type SessionUpdatedResponseFut: Future<Output = Result<(), Error>> + Send;
    type SessionRemovedResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn session_updated(
        &self,
        session_id: u64,
        session_info_delta: &SessionInfoDelta
    ) -> Self::SessionUpdatedResponseFut;
    fn session_removed(
        &self,
        session_id: u64
    ) -> Self::SessionRemovedResponseFut;
}

Required Associated Types§

Required Methods§

source

fn session_updated( &self, session_id: u64, session_info_delta: &SessionInfoDelta ) -> Self::SessionUpdatedResponseFut

source

fn session_removed(&self, session_id: u64) -> Self::SessionRemovedResponseFut

Implementors§