Trait qcomms::ObjComms[][src]

pub trait ObjComms: Comms {
    #[must_use]
    fn tx<'life0, 'life1, 'async_trait, T: Serialize + Send + Sync + ?Sized>(
        &'life0 mut self,
        obj: &'life1 T
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        T: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] fn rx<'life0, 'async_trait, T: DeserializeOwned + Send + Sync>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>
    where
        T: 'async_trait,
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... } }

Provided methods

#[must_use]
fn tx<'life0, 'life1, 'async_trait, T: Serialize + Send + Sync + ?Sized>(
    &'life0 mut self,
    obj: &'life1 T
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    T: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: Send + 'async_trait, 
[src]

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

Loading content...

Implementors

impl<T: Comms> ObjComms for T[src]

Loading content...