[−][src]Struct partition_identity::PartitionIdentifiers
A collection of all discoverable identifiers for a partition.
Fields
id: Option<String>
label: Option<String>
part_label: Option<String>
part_uuid: Option<String>
path: Option<String>
uuid: Option<String>
Methods
impl PartitionIdentifiers
[src]
pub fn from_path<P: AsRef<Path>>(path: P) -> PartitionIdentifiers
[src]
Fetches all discoverable identifiers for a partition by the path to that partition.
pub fn matches(&self, id: &PartitionID) -> bool
[src]
Checks if the given identity matches one of the available identifiers.
Trait Implementations
impl Default for PartitionIdentifiers
[src]
fn default() -> PartitionIdentifiers
[src]
impl Clone for PartitionIdentifiers
[src]
fn clone(&self) -> PartitionIdentifiers
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<PartitionIdentifiers> for PartitionIdentifiers
[src]
fn eq(&self, other: &PartitionIdentifiers) -> bool
[src]
fn ne(&self, other: &PartitionIdentifiers) -> bool
[src]
impl Debug for PartitionIdentifiers
[src]
impl Hash for PartitionIdentifiers
[src]
Auto Trait Implementations
impl Send for PartitionIdentifiers
impl Sync for PartitionIdentifiers
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,