pub enum PvePreallocationEnum {
Off,
Metadata,
Falloc,
Full,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for PvePreallocationEnum
impl Clone for PvePreallocationEnum
Source§fn clone(&self) -> PvePreallocationEnum
fn clone(&self) -> PvePreallocationEnum
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 moreSource§impl Debug for PvePreallocationEnum
impl Debug for PvePreallocationEnum
Source§impl Default for PvePreallocationEnum
impl Default for PvePreallocationEnum
Source§fn default() -> PvePreallocationEnum
fn default() -> PvePreallocationEnum
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PvePreallocationEnum
impl<'de> Deserialize<'de> for PvePreallocationEnum
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 Display for PvePreallocationEnum
impl Display for PvePreallocationEnum
Source§impl Hash for PvePreallocationEnum
impl Hash for PvePreallocationEnum
Source§impl Ord for PvePreallocationEnum
impl Ord for PvePreallocationEnum
Source§fn cmp(&self, other: &PvePreallocationEnum) -> Ordering
fn cmp(&self, other: &PvePreallocationEnum) -> Ordering
1.21.0 (const: unstable) · 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 PvePreallocationEnum
impl PartialEq for PvePreallocationEnum
Source§fn eq(&self, other: &PvePreallocationEnum) -> bool
fn eq(&self, other: &PvePreallocationEnum) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PvePreallocationEnum
impl PartialOrd for PvePreallocationEnum
Source§impl Serialize for PvePreallocationEnum
impl Serialize for PvePreallocationEnum
impl Copy for PvePreallocationEnum
impl Eq for PvePreallocationEnum
impl StructuralPartialEq for PvePreallocationEnum
Auto Trait Implementations§
impl Freeze for PvePreallocationEnum
impl RefUnwindSafe for PvePreallocationEnum
impl Send for PvePreallocationEnum
impl Sync for PvePreallocationEnum
impl Unpin for PvePreallocationEnum
impl UnsafeUnpin for PvePreallocationEnum
impl UnwindSafe for PvePreallocationEnum
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