pub struct ChildSessionAdmin { /* private fields */ }Implementations§
Source§impl ChildSessionAdmin
impl ChildSessionAdmin
pub async fn create_session( &self, request: SessionCreateRequest, ) -> Result<SessionHandle>
pub async fn close_session(&self, session_id: &str) -> Result<()>
pub async fn activate_managed_session(&self, session_id: &str) -> Result<()>
Trait Implementations§
Source§impl Clone for ChildSessionAdmin
impl Clone for ChildSessionAdmin
Source§fn clone(&self) -> ChildSessionAdmin
fn clone(&self) -> ChildSessionAdmin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ChildSessionAdmin
impl !UnwindSafe for ChildSessionAdmin
impl Freeze for ChildSessionAdmin
impl Send for ChildSessionAdmin
impl Sync for ChildSessionAdmin
impl Unpin for ChildSessionAdmin
impl UnsafeUnpin for ChildSessionAdmin
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