pub struct Manager { /* private fields */ }Implementations§
Source§impl Manager
impl Manager
pub fn new(tx: Sender<TxMessage>, command: CommandName) -> Self
pub async fn send_command( &mut self, session_id: String, command: String, ) -> Result<()>
pub async fn create_session(&mut self, id: String) -> Result<()>
pub async fn end_session(&mut self, id: String) -> Result<()>
Auto Trait Implementations§
impl Freeze for Manager
impl RefUnwindSafe for Manager
impl Send for Manager
impl Sync for Manager
impl Unpin for Manager
impl UnwindSafe for Manager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more