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
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
Takes the first link, ignoring the other(s).
Trait Implementations
Performs the conversion.
Performs the conversion.