Trait zenoh_protocol::link::LinkManagerTrait[][src]

pub trait LinkManagerTrait {
#[must_use]    fn new_link<'life0, 'life1, 'async_trait>(
        &'life0 self,
        dst: &'life1 Locator
    ) -> Pin<Box<dyn Future<Output = ZResult<Link>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn new_listener<'life0, 'life1, 'async_trait>(
        &'life0 self,
        locator: &'life1 Locator
    ) -> Pin<Box<dyn Future<Output = ZResult<Locator>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn del_listener<'life0, 'life1, 'async_trait>(
        &'life0 self,
        locator: &'life1 Locator
    ) -> Pin<Box<dyn Future<Output = ZResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_listeners<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Vec<Locator>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_locators<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Vec<Locator>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

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

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

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

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

Loading content...

Implementors

Loading content...