[−][src]Enum ipfs_unixfs::dir::MultipleMatchingLinks
Multiple matching links were found: at least two.
Variants
Two valid links were found
Fields of Two
Two links were matched but one of them could not be converted.
Fields of OneValid
first: (usize, Cid)
The first link and its index in the links
second: InvalidCidInLink
The failure to parse the other link
Implementations
impl MultipleMatchingLinks
[src]
pub fn into_inner(self) -> Cid
[src]
Takes the first link, ignoring the other(s).
Trait Implementations
impl Debug for MultipleMatchingLinks
[src]
impl<'a> From<((usize, Cid), (usize, PBLink<'a>))> for MultipleMatchingLinks
[src]
fn from(
((i, first), (j, second)): ((usize, Cid), (usize, PBLink<'a>))
) -> MultipleMatchingLinks
[src]
((i, first), (j, second)): ((usize, Cid), (usize, PBLink<'a>))
) -> MultipleMatchingLinks
impl From<MultipleMatchingLinks> for LookupError
[src]
fn from(e: MultipleMatchingLinks) -> Self
[src]
impl From<MultipleMatchingLinks> for ResolveError
[src]
fn from(e: MultipleMatchingLinks) -> ResolveError
[src]
Auto Trait Implementations
impl RefUnwindSafe for MultipleMatchingLinks
impl Send for MultipleMatchingLinks
impl Sync for MultipleMatchingLinks
impl Unpin for MultipleMatchingLinks
impl UnwindSafe for MultipleMatchingLinks
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,