[−][src]Enum ipfs_unixfs::dir::ResolveError
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 not a directory, hamt shard, or was a dag-pb node whose data could not be parsed as UnixFS.
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
impl Debug for ResolveError
[src]
impl Display for ResolveError
[src]
impl Error for ResolveError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<InvalidCidInLink> for ResolveError
[src]
fn from(e: InvalidCidInLink) -> ResolveError
[src]
impl From<LookupError> for ResolveError
[src]
fn from(e: LookupError) -> ResolveError
[src]
impl From<MultipleMatchingLinks> for ResolveError
[src]
fn from(e: MultipleMatchingLinks) -> ResolveError
[src]
impl From<ShardError> for ResolveError
[src]
fn from(e: ShardError) -> ResolveError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl !UnwindSafe for ResolveError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,