pub enum BsdtarOptions {
MtreeV1,
MtreeV2,
}
Expand description
The bsdtar options for different versions of ALPM-MTREE.
Variants§
Trait Implementations§
Source§impl Clone for BsdtarOptions
impl Clone for BsdtarOptions
Source§fn clone(&self) -> BsdtarOptions
fn clone(&self) -> BsdtarOptions
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 BsdtarOptions
impl Debug for BsdtarOptions
Source§impl Display for BsdtarOptions
impl Display for BsdtarOptions
Source§impl<'_derivative_strum> From<&'_derivative_strum BsdtarOptions> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum BsdtarOptions> for &'static str
Source§fn from(x: &'_derivative_strum BsdtarOptions) -> &'static str
fn from(x: &'_derivative_strum BsdtarOptions) -> &'static str
Converts to this type from the input type.
Source§impl From<BsdtarOptions> for &'static str
impl From<BsdtarOptions> for &'static str
Source§fn from(x: BsdtarOptions) -> &'static str
fn from(x: BsdtarOptions) -> &'static str
Converts to this type from the input type.
Source§impl From<BsdtarOptions> for MtreeSchema
impl From<BsdtarOptions> for MtreeSchema
Source§fn from(value: BsdtarOptions) -> Self
fn from(value: BsdtarOptions) -> Self
Creates an MtreeSchema
from a BsdtarOptions
impl Copy for BsdtarOptions
Auto Trait Implementations§
impl Freeze for BsdtarOptions
impl RefUnwindSafe for BsdtarOptions
impl Send for BsdtarOptions
impl Sync for BsdtarOptions
impl Unpin for BsdtarOptions
impl UnwindSafe for BsdtarOptions
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