pub struct SessionManager;Implementations§
Source§impl SessionManager
impl SessionManager
pub fn create_session() -> Result<Session>
pub fn create_session_with_name(name: Option<String>) -> Result<Session>
pub fn attach_session(session_id: &str) -> Result<()>
pub fn list_sessions() -> Result<Vec<Session>>
pub fn kill_session(session_id: &str) -> Result<()>
pub fn get_session(session_id: &str) -> Result<Session>
pub fn rename_session(session_id: &str, new_name: &str) -> Result<()>
pub fn cleanup_dead_sessions() -> Result<()>
Auto Trait Implementations§
impl Freeze for SessionManager
impl RefUnwindSafe for SessionManager
impl Send for SessionManager
impl Sync for SessionManager
impl Unpin for SessionManager
impl UnwindSafe for SessionManager
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