Enum hyperbee::HyperbeeError
source · pub enum HyperbeeError {
Show 16 variants
HypercoreError(HypercoreError),
DecodeError(DecodeError),
NoBlockAtSeqError(u64),
TreeBuilderError(TreeBuilderError),
BlocksBuilderError(BlocksBuilderError),
HyperbeeBuilderError(HyperbeeBuilderError),
U64ToUsizeConversionError(u64, TryFromIntError),
GetChildInTraverseError(Box<dyn Error>),
TraverseConfigBuilderError(TraverseConfigBuilderError),
BuildIteratorInTraverseError(Box<dyn Error>),
YoloIndexEncodingError(EncodeError),
HeaderEncodingError(EncodeError),
NodeEncodingError(EncodeError),
KeyFromUtf8Error(FromUtf8Error),
NoRootError,
HeaderAlreadyExists,
}Expand description
Error type used by all Results in this library.
Variants§
HypercoreError(HypercoreError)
DecodeError(DecodeError)
NoBlockAtSeqError(u64)
TreeBuilderError(TreeBuilderError)
BlocksBuilderError(BlocksBuilderError)
HyperbeeBuilderError(HyperbeeBuilderError)
U64ToUsizeConversionError(u64, TryFromIntError)
GetChildInTraverseError(Box<dyn Error>)
TraverseConfigBuilderError(TraverseConfigBuilderError)
BuildIteratorInTraverseError(Box<dyn Error>)
YoloIndexEncodingError(EncodeError)
HeaderEncodingError(EncodeError)
NodeEncodingError(EncodeError)
KeyFromUtf8Error(FromUtf8Error)
NoRootError
HeaderAlreadyExists
Trait Implementations§
source§impl Debug for HyperbeeError
impl Debug for HyperbeeError
source§impl Display for HyperbeeError
impl Display for HyperbeeError
source§impl Error for HyperbeeError
impl Error for HyperbeeError
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<DecodeError> for HyperbeeError
impl From<DecodeError> for HyperbeeError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for HyperbeeError
impl From<FromUtf8Error> for HyperbeeError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<HyperbeeBuilderError> for HyperbeeError
impl From<HyperbeeBuilderError> for HyperbeeError
source§fn from(source: HyperbeeBuilderError) -> Self
fn from(source: HyperbeeBuilderError) -> Self
Converts to this type from the input type.
source§impl From<HypercoreError> for HyperbeeError
impl From<HypercoreError> for HyperbeeError
source§fn from(source: HypercoreError) -> Self
fn from(source: HypercoreError) -> Self
Converts to this type from the input type.
source§impl From<TraverseConfigBuilderError> for HyperbeeError
impl From<TraverseConfigBuilderError> for HyperbeeError
source§fn from(source: TraverseConfigBuilderError) -> Self
fn from(source: TraverseConfigBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HyperbeeError
impl !Send for HyperbeeError
impl !Sync for HyperbeeError
impl Unpin for HyperbeeError
impl !UnwindSafe for HyperbeeError
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