pub(crate) enum LocalFetchCli {
Disabled,
Auto,
Zerocopy,
}Expand description
CLI representation of [composefs_oci::LocalFetchOpt].
Variants§
Disabled
Do not use native containers-storage import; use skopeo.
Auto
Use native import with reflink/hardlink/copy fallback.
Zerocopy
Use native import; error if zero-copy is not possible.
Trait Implementations§
Source§impl Clone for LocalFetchCli
impl Clone for LocalFetchCli
Source§fn clone(&self) -> LocalFetchCli
fn clone(&self) -> LocalFetchCli
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 LocalFetchCli
impl Debug for LocalFetchCli
Source§impl Default for LocalFetchCli
impl Default for LocalFetchCli
Source§fn default() -> LocalFetchCli
fn default() -> LocalFetchCli
Returns the “default value” for a type. Read more
Source§impl From<LocalFetchCli> for LocalFetchOpt
Available on crate feature oci only.
impl From<LocalFetchCli> for LocalFetchOpt
Available on crate feature
oci only.Source§fn from(cli: LocalFetchCli) -> Self
fn from(cli: LocalFetchCli) -> Self
Converts to this type from the input type.
Source§impl ValueEnum for LocalFetchCli
impl ValueEnum for LocalFetchCli
impl Copy for LocalFetchCli
Auto Trait Implementations§
impl Freeze for LocalFetchCli
impl RefUnwindSafe for LocalFetchCli
impl Send for LocalFetchCli
impl Sync for LocalFetchCli
impl Unpin for LocalFetchCli
impl UnsafeUnpin for LocalFetchCli
impl UnwindSafe for LocalFetchCli
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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