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

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

    pub fn dispatch<T: 'static + Debug + Display + FromBytes>(
        &mut self,
        op: &str,
        mode: u8,
        params: &Encapsulation
    ) -> Result<ReplyData, Box<dyn Error>>; pub fn ice_ping(&mut self) -> Result<(), Box<dyn Error>> { ... }
pub fn ice_is_a(&mut self) -> Result<bool, Box<dyn Error>> { ... }
pub fn ice_id(&mut self) -> Result<String, Box<dyn Error>> { ... }
pub fn ice_ids(&mut self) -> Result<Vec<String>, Box<dyn Error>> { ... } }

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

Associated Constants

pub const TYPE_ID: &'static str[src]

Loading content...

Required methods

pub fn dispatch<T: 'static + Debug + Display + FromBytes>(
    &mut self,
    op: &str,
    mode: u8,
    params: &Encapsulation
) -> Result<ReplyData, Box<dyn Error>>
[src]

Loading content...

Provided methods

pub fn ice_ping(&mut self) -> Result<(), Box<dyn Error>>[src]

pub fn ice_is_a(&mut self) -> Result<bool, Box<dyn Error>>[src]

pub fn ice_id(&mut self) -> Result<String, Box<dyn Error>>[src]

pub fn ice_ids(&mut self) -> Result<Vec<String>, Box<dyn Error>>[src]

Loading content...

Implementors

Loading content...