Trait zenoh_protocol::session::SessionEventHandler[][src]

pub trait SessionEventHandler {
#[must_use]    fn handle_message<'life0, 'async_trait>(
        &'life0 self,
        msg: ZenohMessage
    ) -> Pin<Box<dyn Future<Output = ZResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn new_link<'life0, 'async_trait>(
        &'life0 self,
        link: Link
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn del_link<'life0, 'async_trait>(
        &'life0 self,
        link: Link
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn closing<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn closed<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn handle_message<'life0, 'async_trait>(
    &'life0 self,
    msg: ZenohMessage
) -> Pin<Box<dyn Future<Output = ZResult<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn closing<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn closed<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl SessionEventHandler for DummySessionEventHandler[src]

impl SessionEventHandler for Session[src]

impl<P: Primitives + Send + Sync> SessionEventHandler for DeMux<P>[src]

Loading content...