pub struct Drain {
pub cause: DrainCause,
pub workers: NonZeroU32,
pub drained: u32,
pub done: u32,
}Fields§
§cause: DrainCause§workers: NonZeroU32§drained: u32§done: u32Trait Implementations§
Auto Trait Implementations§
impl Forget for Drain
impl Freeze for Drain
impl Move for Drain
impl RefUnwindSafe for Drain
impl Send for Drain
impl Sync for Drain
impl Unpin for Drain
impl UnsafeUnpin for Drainwhere
NonZeroU32Inner: UnsafeUnpin,
impl UnwindSafe for Drain
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