Enum unixfs_v1::dir::ResolveError [−][src]
pub enum ResolveError {
UnexpectedType(UnexpectedNodeType),
UnexpectedDirProperties(UnexpectedDirectoryProperties),
Read(Error),
Lookup(LookupError),
}
Expand description
Resolving can fail similarly as with ShardedLookup::continue_walk
but in addition to sharded
cases, there can be unexpected directories.
Variants
The target block was a UnixFs node that doesn’t support resolving, e.g. a file.
Tuple Fields of UnexpectedType
A directory had unsupported properties. These are not encountered during walking sharded directories.
Failed to read the block as a dag-pb node. Failure to read an inner UnixFS node is ignored and links of the outer dag-pb are processed.
Tuple Fields of Read
0: Error
Lookup errors.
Tuple Fields of Lookup
0: LookupError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.