[][src]Enum ipfs_unixfs::file::FileReadFailed

pub enum FileReadFailed {
    File(FileError),
    UnexpectedType(UnexpectedNodeType),
    Read(Option<Error>),
    InvalidCid(InvalidCidInLink),
}

Describes the errors which can happen during a visit or lower level block-by-block walking of the DAG.

Variants

File(FileError)

Unsupported UnixFs file; these might exist, but currently there are no workarounds for handling them.

UnexpectedType(UnexpectedNodeType)

FileReader can only process raw or file type of unixfs content.

Read(Option<Error>)

Parsing failed

InvalidCid(InvalidCidInLink)

Link could not be turned into Cid.

Trait Implementations

impl Debug for FileReadFailed[src]

impl Display for FileReadFailed[src]

impl Error for FileReadFailed[src]

impl From<FileError> for FileReadFailed[src]

impl From<FileReadFailed> for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.