pub enum BlockSyncClientError {
BlockTreeError(BlockTreeError),
}
Expand description
The block sync client may fail if there is an error when trying to read from or write to the [block tree][BlockTree].
Variants§
BlockTreeError(BlockTreeError)
Trait Implementations§
source§impl Debug for BlockSyncClientError
impl Debug for BlockSyncClientError
source§impl From<BlockTreeError> for BlockSyncClientError
impl From<BlockTreeError> for BlockSyncClientError
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 BlockSyncClientError
impl !RefUnwindSafe for BlockSyncClientError
impl Send for BlockSyncClientError
impl Sync for BlockSyncClientError
impl Unpin for BlockSyncClientError
impl !UnwindSafe for BlockSyncClientError
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