Struct cf_core_alpha::session::Manager
source · pub struct Manager { /* private fields */ }Implementations
sourceimpl 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 !RefUnwindSafe for Manager
impl Send for Manager
impl Sync for Manager
impl Unpin for Manager
impl !UnwindSafe for Manager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more