Enum unixfs_v1::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
sourceimpl Debug for ShardError
impl Debug for ShardError
sourceimpl Display for ShardError
impl Display for ShardError
sourceimpl Error for ShardError
impl Error for ShardError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ShardError> for Error
impl From<ShardError> for Error
sourcefn from(e: ShardError) -> Self
fn from(e: ShardError) -> Self
Converts to this type from the input type.
sourceimpl From<ShardError> for LookupError
impl From<ShardError> for LookupError
sourcefn from(e: ShardError) -> Self
fn from(e: ShardError) -> Self
Converts to this type from the input type.
sourceimpl From<ShardError> for ResolveError
impl From<ShardError> for ResolveError
sourcefn from(e: ShardError) -> ResolveError
fn from(e: ShardError) -> ResolveError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ShardError
impl Send for ShardError
impl Sync for ShardError
impl Unpin for ShardError
impl UnwindSafe for ShardError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more