Host

Trait Host 

Source
pub trait Host {
    // Required methods
    fn create_session(&mut self, service: String) -> Result<Option<String>>;
    fn terminate_session(&mut self, session: String) -> Result<()>;
}

Required Methods§

Source

fn create_session(&mut self, service: String) -> Result<Option<String>>

start session, this will start new operator session

Source

fn terminate_session(&mut self, session: String) -> Result<()>

terminate session, this will terminate operator session

Implementations on Foreign Types§

Source§

impl<_T: Host + ?Sized> Host for &mut _T

Source§

fn create_session(&mut self, service: String) -> Result<Option<String>>

start session, this will start new operator session

Source§

fn terminate_session(&mut self, session: String) -> Result<()>

terminate session, this will terminate operator session

Implementors§