pub enum Transport {
Registry,
OciDir,
OciArchive,
DockerArchive,
ContainerStorage,
Dir,
}Expand description
A backend/transport for OCI/Docker images.
Variants§
Registry
A remote Docker/OCI registry (registry: or docker://)
OciDir
A local OCI directory (oci:)
OciArchive
A local OCI archive tarball (oci-archive:)
DockerArchive
A local Docker archive tarball (docker-archive:)
ContainerStorage
Local container storage (containers-storage:)
Dir
Local directory (dir:)
Implementations§
Source§impl Transport
impl Transport
Sourcepub fn serializable_name(&self) -> &'static str
pub fn serializable_name(&self) -> &'static str
Retrieve an identifier that can then be re-parsed from Transport::try_from::<&str>.
Trait Implementations§
impl Copy for Transport
impl Eq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.