Struct tokio_threadpool::park::DefaultPark
source · [−]pub struct DefaultPark { /* private fields */ }
Expand description
Parks the thread.
Implementations
sourceimpl DefaultPark
impl DefaultPark
sourcepub fn new() -> DefaultPark
pub fn new() -> DefaultPark
Creates a new DefaultPark
instance.
Trait Implementations
sourceimpl Debug for DefaultPark
impl Debug for DefaultPark
Auto Trait Implementations
impl !RefUnwindSafe for DefaultPark
impl Send for DefaultPark
impl !Sync for DefaultPark
impl Unpin for DefaultPark
impl !UnwindSafe for DefaultPark
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more