pub struct WaiterDepth(pub u32);Expand description
嵌套深度标记,打在重建的 Ctx 上,使从中提取的 Session 比产出它的 waiter 深一层注册。
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for WaiterDepth
impl Clone for WaiterDepth
Source§fn clone(&self) -> WaiterDepth
fn clone(&self) -> WaiterDepth
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 moreimpl Copy for WaiterDepth
Auto Trait Implementations§
impl Freeze for WaiterDepth
impl RefUnwindSafe for WaiterDepth
impl Send for WaiterDepth
impl Sync for WaiterDepth
impl Unpin for WaiterDepth
impl UnsafeUnpin for WaiterDepth
impl UnwindSafe for WaiterDepth
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