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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".