pub(crate) struct IoPausedGuard {
sender: Option<Sender<()>>,
}
Expand description
Guard to make sure the IO Scheduler is resumed.
Returned by SchedulerState::pause
. To resume the IO scheduler simply drop this
guard.
Fields§
§sender: Option<Sender<()>>
Trait Implementations§
source§impl Debug for IoPausedGuard
impl Debug for IoPausedGuard
source§impl Default for IoPausedGuard
impl Default for IoPausedGuard
source§fn default() -> IoPausedGuard
fn default() -> IoPausedGuard
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IoPausedGuard
impl !RefUnwindSafe for IoPausedGuard
impl Send for IoPausedGuard
impl Sync for IoPausedGuard
impl Unpin for IoPausedGuard
impl !UnwindSafe for IoPausedGuard
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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