Enum base::sys::linux::FallocateMode   
source · pub enum FallocateMode {
    PunchHole,
    ZeroRange,
    Allocate,
}Expand description
The operation to perform with fallocate.
Variants§
Trait Implementations§
source§impl From<FallocateMode> for i32
 
impl From<FallocateMode> for i32
source§fn from(value: FallocateMode) -> Self
 
fn from(value: FallocateMode) -> Self
Converts to this type from the input type.
source§impl From<FallocateMode> for u32
 
impl From<FallocateMode> for u32
source§fn from(value: FallocateMode) -> Self
 
fn from(value: FallocateMode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FallocateMode
impl RefUnwindSafe for FallocateMode
impl Send for FallocateMode
impl Sync for FallocateMode
impl Unpin for FallocateMode
impl UnwindSafe for FallocateMode
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