Enum rust_ipfs::unixfs::TraversalFailed
source · pub enum TraversalFailed {
Resolving(ResolveError),
Path(UnexpectedResolved),
Loading(Cid, Error),
Walking(Cid, FileReadFailed),
}
Expand description
Types of failures which can occur while walking the UnixFS graph.
Variants§
Resolving(ResolveError)
Failure to resolve the given path; does not happen when given a block.
Path(UnexpectedResolved)
The given path was resolved to non dag-pb block, does not happen when starting the walk from a block.
Loading(Cid, Error)
Loading of a block during walk failed
Walking(Cid, FileReadFailed)
Processing of the block failed
Trait Implementations§
source§impl Debug for TraversalFailed
impl Debug for TraversalFailed
source§impl Display for TraversalFailed
impl Display for TraversalFailed
source§impl Error for TraversalFailed
impl Error for TraversalFailed
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()