pub struct Catalog<'a> { /* private fields */ }Expand description
A Docker Distribution registry catalog response.
Implementations§
Source§impl<'a> Catalog<'a>
impl<'a> Catalog<'a>
pub fn parse(bytes: &'a [u8]) -> Result<Self, MetadataError>
pub fn repositories(self) -> Result<StringIter<'a>, MetadataError>
Trait Implementations§
impl<'a> Copy for Catalog<'a>
impl<'a> Eq for Catalog<'a>
impl<'a> StructuralPartialEq for Catalog<'a>
Auto Trait Implementations§
impl<'a> Freeze for Catalog<'a>
impl<'a> RefUnwindSafe for Catalog<'a>
impl<'a> Send for Catalog<'a>
impl<'a> Sync for Catalog<'a>
impl<'a> Unpin for Catalog<'a>
impl<'a> UnsafeUnpin for Catalog<'a>
impl<'a> UnwindSafe for Catalog<'a>
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