pub enum Preallocation {
Falloc,
Full,
Metadata,
Off,
}
Variants§
Trait Implementations§
Source§impl Clone for Preallocation
impl Clone for Preallocation
Source§fn clone(&self) -> Preallocation
fn clone(&self) -> Preallocation
Returns a copy 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 Preallocation
impl Debug for Preallocation
Source§impl Default for Preallocation
impl Default for Preallocation
Source§impl<'de> Deserialize<'de> for Preallocation
impl<'de> Deserialize<'de> for Preallocation
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
Auto Trait Implementations§
impl Freeze for Preallocation
impl RefUnwindSafe for Preallocation
impl Send for Preallocation
impl Sync for Preallocation
impl Unpin for Preallocation
impl UnwindSafe for Preallocation
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