pub enum LayerRef {
Name(LayerId),
Digest(String),
}Expand description
Reference to a layer a source should produce the manifest for.
Variants§
Name(LayerId)
By name — discovery; the returned manifest’s own annotations and digest are then checked against the pin.
Digest(String)
By exact manifest digest (sha256:<hex>).
Trait Implementations§
impl Eq for LayerRef
impl StructuralPartialEq for LayerRef
Auto Trait Implementations§
impl Freeze for LayerRef
impl RefUnwindSafe for LayerRef
impl Send for LayerRef
impl Sync for LayerRef
impl Unpin for LayerRef
impl UnsafeUnpin for LayerRef
impl UnwindSafe for LayerRef
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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