pub enum PartitionSource {
ID,
Label,
PartLabel,
PartUUID,
Path,
UUID,
}
Expand description
Describes the type of partition identity.
Variants
ID
Label
PartLabel
PartUUID
Path
UUID
Trait Implementations
sourceimpl Clone for PartitionSource
impl Clone for PartitionSource
sourcefn clone(&self) -> PartitionSource
fn clone(&self) -> PartitionSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PartitionSource
impl Debug for PartitionSource
sourceimpl Display for PartitionSource
impl Display for PartitionSource
sourceimpl From<PartitionSource> for &'static str
impl From<PartitionSource> for &'static str
sourcefn from(pid: PartitionSource) -> &'static str
fn from(pid: PartitionSource) -> &'static str
Converts to this type from the input type.
sourceimpl Hash for PartitionSource
impl Hash for PartitionSource
sourceimpl PartialEq<PartitionSource> for PartitionSource
impl PartialEq<PartitionSource> for PartitionSource
impl Copy for PartitionSource
impl Eq for PartitionSource
impl StructuralEq for PartitionSource
impl StructuralPartialEq for PartitionSource
Auto Trait Implementations
impl RefUnwindSafe for PartitionSource
impl Send for PartitionSource
impl Sync for PartitionSource
impl Unpin for PartitionSource
impl UnwindSafe for PartitionSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more