Enum rust_unixfs::dir::builder::TreeConstructionFailed
source · pub enum TreeConstructionFailed {
Protobuf(Error),
TooLargeBlock(u64),
}
Expand description
Failure cases for PostOrderIterator
creating the tree dag-pb nodes.
Variants§
Protobuf(Error)
Failed to serialize the protobuf node for the directory
TooLargeBlock(u64)
The resulting directory would be too large and HAMT sharding is yet to be implemented or denied.
Trait Implementations§
source§impl Debug for TreeConstructionFailed
impl Debug for TreeConstructionFailed
source§impl Display for TreeConstructionFailed
impl Display for TreeConstructionFailed
source§impl Error for TreeConstructionFailed
impl Error for TreeConstructionFailed
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()
Auto Trait Implementations§
impl !RefUnwindSafe for TreeConstructionFailed
impl Send for TreeConstructionFailed
impl Sync for TreeConstructionFailed
impl Unpin for TreeConstructionFailed
impl !UnwindSafe for TreeConstructionFailed
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more