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 StopsWithwhere
CancellationToken: RefUnwindSafe,
impl Send for StopsWith
impl Sync for StopsWith
impl Unpin for StopsWith
impl UnsafeUnpin for StopsWithwhere
*const ArcInner<TreeNode> is !null: UnsafeUnpin,
PhantomData<ArcInner<TreeNode>>: UnsafeUnpin,
impl UnwindSafe for StopsWithwhere
CancellationToken: UnwindSafe,
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