Enum unixfs_v1::dir::MultipleMatchingLinks [−][src]
pub enum MultipleMatchingLinks { Two { first: (usize, Cid), second: (usize, Cid), }, OneValid { first: (usize, Cid), second: InvalidCidInLink, }, }
Expand description
Multiple matching links were found: at least two.
Variants
Two valid links were found
Show fields
Two links were matched but one of them could not be converted.
Show fields
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
Takes the first link, ignoring the other(s).
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for MultipleMatchingLinks
impl Send for MultipleMatchingLinks
impl Sync for MultipleMatchingLinks
impl Unpin for MultipleMatchingLinks
impl !UnwindSafe for MultipleMatchingLinks