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
UnexpectedType(UnexpectedNodeType)
The target block was a UnixFs node that doesn’t support resolving, e.g. a file.
A directory had unsupported properties. These are not encountered during walking sharded directories.
Read(Error)
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.
Lookup(LookupError)
Lookup errors.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl !UnwindSafe for ResolveError