pub trait Interface {
fn get_description(&self) -> &'static str;
fn get_name(&self) -> &'static str;
fn call_upgraded(
&self,
call: &mut Call<'_>,
bufreader: &mut dyn BufRead
) -> Result<Vec<u8>>;
fn call(&self, call: &mut Call<'_>) -> Result<()>;
}
Expand description
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.