Enum rust_unixfs::dir::ShardError
source · pub enum ShardError {
UnsupportedProperties {
hash_type: Option<u64>,
fanout: Option<u64>,
},
UnexpectedProperties {
filesize: Option<u64>,
blocksizes: Vec<u64>,
},
}
Expand description
Shard does not fit into expectations.
Variants§
UnsupportedProperties
Fields
Encountered an HAMT sharded directory which had an unsupported configuration.
UnexpectedProperties
Fields
Encountered an HAMT sharded directory which had a unexpected properties.
Trait Implementations§
source§impl Debug for ShardError
impl Debug for ShardError
source§impl Display for ShardError
impl Display for ShardError
source§impl Error for ShardError
impl Error for ShardError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ShardError> for Error
impl From<ShardError> for Error
source§fn from(e: ShardError) -> Self
fn from(e: ShardError) -> Self
Converts to this type from the input type.
source§impl From<ShardError> for LookupError
impl From<ShardError> for LookupError
source§fn from(e: ShardError) -> Self
fn from(e: ShardError) -> Self
Converts to this type from the input type.
source§impl From<ShardError> for ResolveError
impl From<ShardError> for ResolveError
source§fn from(e: ShardError) -> ResolveError
fn from(e: ShardError) -> ResolveError
Converts to this type from the input type.