pub enum PartitionSource {
ID,
Label,
PartLabel,
PartUUID,
Path,
UUID,
}
Expand description
Describes the type of partition identity.
Variants§
Trait Implementations§
Source§impl Clone for PartitionSource
impl Clone for PartitionSource
Source§fn clone(&self) -> PartitionSource
fn clone(&self) -> PartitionSource
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 PartitionSource
impl Debug for PartitionSource
Source§impl Display for PartitionSource
impl Display for PartitionSource
Source§impl From<PartitionSource> for &'static str
impl From<PartitionSource> for &'static str
Source§fn from(pid: PartitionSource) -> &'static str
fn from(pid: PartitionSource) -> &'static str
Converts to this type from the input type.
Source§impl Hash for PartitionSource
impl Hash for PartitionSource
Source§impl PartialEq for PartitionSource
impl PartialEq for PartitionSource
impl Copy for PartitionSource
impl Eq for PartitionSource
impl StructuralPartialEq for PartitionSource
Auto Trait Implementations§
impl Freeze for PartitionSource
impl RefUnwindSafe for PartitionSource
impl Send for PartitionSource
impl Sync for PartitionSource
impl Unpin for PartitionSource
impl UnwindSafe for PartitionSource
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