Trait varlink::Interface [−][src]
pub trait Interface { fn get_description(&self) -> &'static str; fn get_name(&self) -> &'static str; fn call_upgraded(
&self,
call: &mut Call,
bufreader: &mut BufRead
) -> Result<Vec<u8>>; fn call(&self, call: &mut Call) -> Result<()>; }
This trait has to be implemented by any varlink interface implementor. All methods are generated by the varlink-rust-generator, so you don't have to care about them.
Required Methods
fn get_description(&self) -> &'static str
fn get_name(&self) -> &'static str
fn call_upgraded(
&self,
call: &mut Call,
bufreader: &mut BufRead
) -> Result<Vec<u8>>
&self,
call: &mut Call,
bufreader: &mut BufRead
) -> Result<Vec<u8>>
fn call(&self, call: &mut Call) -> Result<()>
Implementors
impl Interface for VarlinkService