pub enum Error {
Io(IoError),
UnsupportedCode(u64),
InvalidSize(u64),
Varint(DecodeError),
}
Expand description
Multihash error.
Variants
Io(IoError)
Io error.
UnsupportedCode(u64)
Unsupported multihash code.
InvalidSize(u64)
Invalid multihash size.
Varint(DecodeError)
Invalid varint.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more