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

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

    fn dispatch<T: 'static + Debug + Display + FromBytes>(
        &mut self,
        op: &str,
        mode: u8,
        params: &Encapsulation,
        context: Option<HashMap<String, String>>
    ) -> Result<ReplyData, Box<dyn Error>>; fn ice_ping(&mut self) -> Result<(), Box<dyn Error>> { ... }
fn ice_is_a(&mut self) -> Result<bool, Box<dyn Error>> { ... }
fn ice_id(&mut self) -> Result<String, Box<dyn Error>> { ... }
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

const TYPE_ID: &'static str[src]

Loading content...

Required methods

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

Loading content...

Provided methods

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

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

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

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

Loading content...

Implementors

Loading content...