Trait zenoh_protocol::session::SessionHandler[][src]

pub trait SessionHandler {
#[must_use]    fn new_session<'life0, 'async_trait>(
        &'life0 self,
        session: Session
    ) -> Pin<Box<dyn Future<Output = ZResult<Arc<dyn SessionEventHandler + Send + Sync>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn new_session<'life0, 'async_trait>(
    &'life0 self,
    session: Session
) -> Pin<Box<dyn Future<Output = ZResult<Arc<dyn SessionEventHandler + Send + Sync>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...