pub struct ManagedSessionHandle { /* private fields */ }Expand description
A handle to a running managed session.
Implementations§
Source§impl ManagedSessionHandle
impl ManagedSessionHandle
Sourcepub fn session_id(&self) -> &str
pub fn session_id(&self) -> &str
Return the session identifier.
Sourcepub async fn wait(self) -> Result<SessionFinished>
pub async fn wait(self) -> Result<SessionFinished>
Wait for the session to finish.
Auto Trait Implementations§
impl Freeze for ManagedSessionHandle
impl RefUnwindSafe for ManagedSessionHandle
impl Send for ManagedSessionHandle
impl Sync for ManagedSessionHandle
impl Unpin for ManagedSessionHandle
impl UnsafeUnpin for ManagedSessionHandle
impl UnwindSafe for ManagedSessionHandle
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