Enum rust_ipfs::unixfs::TraversalFailed
source · pub enum TraversalFailed {
Resolving(ResolveError),
Path(UnexpectedResolved),
Loading(Cid, Error),
Timeout {
path: IpfsPath,
},
Walking(Cid, FileReadFailed),
Io(Error),
}
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
Timeout
Walking(Cid, FileReadFailed)
Processing of the block failed
Io(Error)
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()
Auto Trait Implementations§
impl !RefUnwindSafe for TraversalFailed
impl Send for TraversalFailed
impl Sync for TraversalFailed
impl Unpin for TraversalFailed
impl !UnwindSafe for TraversalFailed
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more