Enum unixfs_v1::LookupError [−][src]
pub enum LookupError {
Multiple(MultipleMatchingLinks),
InvalidCid(InvalidCidInLink),
UnexpectedBucketType(UnexpectedNodeType),
Shard(ShardError),
Read(Option<Error>),
}
Expand description
Errors which can occur when looking up a HAMTSharded directory.
Variants
Multiple matching links were found
Tuple Fields of Multiple
Invalid Cid was matched
Tuple Fields of InvalidCid
Unexpected HAMT shard bucket type
Tuple Fields of UnexpectedBucketType
Unsupported or unexpected property of the UnixFS node
Tuple Fields of Shard
0: ShardError
Parsing failed or the inner dag-pb data was contained no bytes.
Implementations
Converts this HAMT lookup error to the more general ResolveError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.