Enum ostree_ext::container::Transport
source · pub enum Transport {
Registry,
OciDir,
OciArchive,
ContainerStorage,
}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:)
ContainerStorage
Local container storage (containers-storage:)
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§
source§impl PartialEq<Transport> for Transport
impl PartialEq<Transport> for Transport
impl Copy for Transport
impl Eq for Transport
impl StructuralEq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
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