Enum libipld_core::ipld::IpldIndex
source · Expand description
An index into ipld
Variants
List(usize)
An index into an ipld list.
Map(String)
An owned index into an ipld map.
MapRef(&'a str)
An index into an ipld map.
Trait Implementations
sourceimpl From<IpldIndex<'_>> for TypeErrorType
impl From<IpldIndex<'_>> for TypeErrorType
Auto Trait Implementations
impl<'a> RefUnwindSafe for IpldIndex<'a>
impl<'a> Send for IpldIndex<'a>
impl<'a> Sync for IpldIndex<'a>
impl<'a> Unpin for IpldIndex<'a>
impl<'a> UnwindSafe for IpldIndex<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more