pub enum BlockDeviceParent {
Gpt,
Dev,
}
Expand description
Possible parents for a block device.
Variants§
Gpt
The device is expected to be a child of the main system gpt.
Dev
The device is expected to be a child of a driver.
Trait Implementations§
Source§impl Clone for BlockDeviceParent
impl Clone for BlockDeviceParent
Source§fn clone(&self) -> BlockDeviceParent
fn clone(&self) -> BlockDeviceParent
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 BlockDeviceParent
impl Debug for BlockDeviceParent
Source§impl<'de> Deserialize<'de> for BlockDeviceParent
impl<'de> Deserialize<'de> for BlockDeviceParent
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 PartialEq for BlockDeviceParent
impl PartialEq for BlockDeviceParent
Source§impl Serialize for BlockDeviceParent
impl Serialize for BlockDeviceParent
impl StructuralPartialEq for BlockDeviceParent
Auto Trait Implementations§
impl Freeze for BlockDeviceParent
impl RefUnwindSafe for BlockDeviceParent
impl Send for BlockDeviceParent
impl Sync for BlockDeviceParent
impl Unpin for BlockDeviceParent
impl UnwindSafe for BlockDeviceParent
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