pub enum PreallocMode {
off,
metadata,
falloc,
full,
}
Variants§
Trait Implementations§
Source§impl Clone for PreallocMode
impl Clone for PreallocMode
Source§fn clone(&self) -> PreallocMode
fn clone(&self) -> PreallocMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PreallocMode
impl Debug for PreallocMode
Source§impl<'de> Deserialize<'de> for PreallocMode
impl<'de> Deserialize<'de> for PreallocMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enum for PreallocMode
impl Enum for PreallocMode
Source§impl FromStr for PreallocMode
impl FromStr for PreallocMode
Source§impl Hash for PreallocMode
impl Hash for PreallocMode
Source§impl Ord for PreallocMode
impl Ord for PreallocMode
Source§fn cmp(&self, other: &PreallocMode) -> Ordering
fn cmp(&self, other: &PreallocMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PreallocMode
impl PartialEq for PreallocMode
Source§impl PartialOrd for PreallocMode
impl PartialOrd for PreallocMode
Source§impl Serialize for PreallocMode
impl Serialize for PreallocMode
impl Copy for PreallocMode
impl Eq for PreallocMode
impl StructuralPartialEq for PreallocMode
Auto Trait Implementations§
impl Freeze for PreallocMode
impl RefUnwindSafe for PreallocMode
impl Send for PreallocMode
impl Sync for PreallocMode
impl Unpin for PreallocMode
impl UnwindSafe for PreallocMode
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