pub enum PartitionKind {
Data,
Update,
Channel,
Other(u32),
}Expand description
The kind of disc partition.
Variants§
Data
Data partition.
Update
Update partition.
Channel
Channel partition.
Other(u32)
Other partition kind.
Implementations§
Trait Implementations§
Source§impl Clone for PartitionKind
impl Clone for PartitionKind
Source§fn clone(&self) -> PartitionKind
fn clone(&self) -> PartitionKind
Returns a duplicate 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 PartitionKind
impl Debug for PartitionKind
Source§impl Display for PartitionKind
impl Display for PartitionKind
Source§impl From<u32> for PartitionKind
impl From<u32> for PartitionKind
Source§impl PartialEq for PartitionKind
impl PartialEq for PartitionKind
impl Copy for PartitionKind
impl Eq for PartitionKind
impl StructuralPartialEq for PartitionKind
Auto Trait Implementations§
impl Freeze for PartitionKind
impl RefUnwindSafe for PartitionKind
impl Send for PartitionKind
impl Sync for PartitionKind
impl Unpin for PartitionKind
impl UnwindSafe for PartitionKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more