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(MultipleMatchingLinks)
Multiple matching links were found
InvalidCid(InvalidCidInLink)
Invalid Cid was matched
UnexpectedBucketType(UnexpectedNodeType)
Unexpected HAMT shard bucket type
Shard(ShardError)
Unsupported or unexpected property of the UnixFS node
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.
Auto Trait Implementations
impl !RefUnwindSafe for LookupError
impl Send for LookupError
impl Sync for LookupError
impl Unpin for LookupError
impl !UnwindSafe for LookupError