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
Unsupported UnixFs file; these might exist, but currently there are no workarounds for handling them.
Tuple Fields of File
0: FileError
FileReader can only process raw or file type of unixfs content.
Tuple Fields of UnexpectedType
Parsing failed
Link could not be turned into Cid.
Tuple Fields of InvalidCid
Trait Implementations
Performs the conversion.