Enum unixfs_v1::file::FileReadFailed [−][src]
pub enum FileReadFailed { File(FileError), UnexpectedType(UnexpectedNodeType), Read(Option<Error>), InvalidCid(InvalidCidInLink), }
Expand description
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.
Parsing failed
InvalidCid(InvalidCidInLink)
Link could not be turned into Cid.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FileReadFailed
impl Send for FileReadFailed
impl Sync for FileReadFailed
impl Unpin for FileReadFailed
impl !UnwindSafe for FileReadFailed