pub enum HotStuffError {
BlockTreeError(BlockTreeError),
}
Expand description
The different ways calls to methods of the HotStuff
struct can fail.
Variants§
BlockTreeError(BlockTreeError)
Trait Implementations§
source§impl Debug for HotStuffError
impl Debug for HotStuffError
source§impl From<BlockTreeError> for HotStuffError
impl From<BlockTreeError> for HotStuffError
source§fn from(value: BlockTreeError) -> Self
fn from(value: BlockTreeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HotStuffError
impl !RefUnwindSafe for HotStuffError
impl Send for HotStuffError
impl Sync for HotStuffError
impl Unpin for HotStuffError
impl !UnwindSafe for HotStuffError
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