Struct unixfs_v1::InvalidCidInLink [−][src]
pub struct InvalidCidInLink {
pub nth: usize,
pub hash: Cow<'static, [u8]>,
pub name: Cow<'static, str>,
pub source: Error,
// some fields omitted
}
Expand description
A link could not be transformed into a Cid.
Fields
nth: usize
The index of this link, from zero
hash: Cow<'static, [u8]>
Hash which could not be turned into a Cid
name: Cow<'static, str>
Name of the link, most likely empty when this originates from a file, most likely non-empty for other kinds.
source: Error
Error from the attempted conversion
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.