pub enum StopsWith {
Call(CancellationToken),
Session,
}Variants§
Call(CancellationToken)
The caller’s token: the delegate stops on a child of it.
Session
The parent session’s end.
Trait Implementations§
Auto Trait Implementations§
impl Forget for StopsWith
impl Freeze for StopsWith
impl Move for StopsWith
impl RefUnwindSafe for StopsWith
impl Send for StopsWith
impl Sync for StopsWith
impl Unpin for StopsWith
impl UnsafeUnpin for StopsWith
impl UnwindSafe for StopsWith
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