pub struct MulticodecTable<'a> { /* private fields */ }Expand description
Semantic result for the supported multicodec table.
This owner deliberately does not implement Clone: duplicating its vector
would allocate outside the fallible, typed construction path.
Implementations§
Source§impl<'a> MulticodecTable<'a>
impl<'a> MulticodecTable<'a>
Sourcepub fn entries(&self) -> &[MulticodecSpec<'a>]
pub fn entries(&self) -> &[MulticodecSpec<'a>]
Return the supported entries in stable registry order.
Trait Implementations§
Source§impl<'a> Debug for MulticodecTable<'a>
impl<'a> Debug for MulticodecTable<'a>
impl<'a> Eq for MulticodecTable<'a>
Source§impl<'a> PartialEq for MulticodecTable<'a>
impl<'a> PartialEq for MulticodecTable<'a>
impl<'a> StructuralPartialEq for MulticodecTable<'a>
Auto Trait Implementations§
impl<'a> Freeze for MulticodecTable<'a>
impl<'a> RefUnwindSafe for MulticodecTable<'a>
impl<'a> Send for MulticodecTable<'a>
impl<'a> Sync for MulticodecTable<'a>
impl<'a> Unpin for MulticodecTable<'a>
impl<'a> UnsafeUnpin for MulticodecTable<'a>
impl<'a> UnwindSafe for MulticodecTable<'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