pub enum BackgroundMode {
Begin,
End,
}Expand description
Whether the thread runs in background processing mode.
Background mode is not an I/O-priority knob on its own: entering it lowers CPU, I/O and memory priority together, and leaving it restores all three. The name says so rather than presenting it as an I/O setting that happens to have side effects.
Variants§
Begin
Enter background processing mode for the operation.
End
Leave background processing mode for the operation.
Trait Implementations§
Source§impl Clone for BackgroundMode
impl Clone for BackgroundMode
Source§fn clone(&self) -> BackgroundMode
fn clone(&self) -> BackgroundMode
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 BackgroundMode
Source§impl Debug for BackgroundMode
impl Debug for BackgroundMode
impl Eq for BackgroundMode
Source§impl Hash for BackgroundMode
impl Hash for BackgroundMode
Source§impl PartialEq for BackgroundMode
impl PartialEq for BackgroundMode
impl StructuralPartialEq for BackgroundMode
Auto Trait Implementations§
impl Freeze for BackgroundMode
impl RefUnwindSafe for BackgroundMode
impl Send for BackgroundMode
impl Sync for BackgroundMode
impl Unpin for BackgroundMode
impl UnsafeUnpin for BackgroundMode
impl UnwindSafe for BackgroundMode
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