Trait ice_rs::iceobject::IceObject[][src]

pub trait IceObject {
    const TYPE_ID: &'static str;

#[must_use]    fn dispatch<'life0, 'life1, 'life2, 'async_trait, T: 'static + Debug + Display + FromBytes + Sync + Send>(
        &'life0 mut self,
        op: &'life1 str,
        mode: u8,
        params: &'life2 Encapsulation,
        context: Option<HashMap<String, String>>
    ) -> Pin<Box<dyn Future<Output = Result<ReplyData, Box<dyn Error + Sync + Send>>> + Send + 'async_trait>>
    where
        T: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; #[must_use] fn ice_ping<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Sync + Send>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] fn ice_is_a<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<bool, Box<dyn Error + Sync + Send>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] fn ice_id<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn Error + Sync + Send>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] fn ice_ids<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Box<dyn Error + Sync + Send>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... } }

The IceObject trait is a base trait for all ice interfaces. It implements functions that are equal to all ice interfaces.

Associated Constants

const TYPE_ID: &'static str[src]

Loading content...

Required methods

#[must_use]fn dispatch<'life0, 'life1, 'life2, 'async_trait, T: 'static + Debug + Display + FromBytes + Sync + Send>(
    &'life0 mut self,
    op: &'life1 str,
    mode: u8,
    params: &'life2 Encapsulation,
    context: Option<HashMap<String, String>>
) -> Pin<Box<dyn Future<Output = Result<ReplyData, Box<dyn Error + Sync + Send>>> + Send + 'async_trait>> where
    T: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Provided methods

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

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

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

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

Loading content...

Implementors

Loading content...