pub enum AddBlockResult {
BlockAddedSuccessfully(BlockHash, bool, WalletUpdateStatus),
BlockAlreadyExists,
FailedButRetry(Block, bool, bool),
FailedNotValid,
}
Variants§
BlockAddedSuccessfully(BlockHash, bool, WalletUpdateStatus)
BlockAlreadyExists
FailedButRetry(Block, bool, bool)
FailedNotValid
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddBlockResult
impl RefUnwindSafe for AddBlockResult
impl Send for AddBlockResult
impl Sync for AddBlockResult
impl Unpin for AddBlockResult
impl UnwindSafe for AddBlockResult
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