Enum ckb_tx_pool::error::BlockAssemblerError
source · pub enum BlockAssemblerError {
InvalidInput,
InvalidParams(String),
Disabled,
Overflow,
}Expand description
The error type for block assemble related
Variants§
InvalidInput
Input is invalid
InvalidParams(String)
Parameters is invalid
Disabled
BlockAssembler is disabled
Overflow
BlockAssembler calculate overflow
Trait Implementations§
source§impl Clone for BlockAssemblerError
impl Clone for BlockAssemblerError
source§fn clone(&self) -> BlockAssemblerError
fn clone(&self) -> BlockAssemblerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BlockAssemblerError
impl Debug for BlockAssemblerError
source§impl Display for BlockAssemblerError
impl Display for BlockAssemblerError
source§impl Error for BlockAssemblerError
impl Error for BlockAssemblerError
1.30.0 · 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<BlockAssemblerError> for Error
impl From<BlockAssemblerError> for Error
source§fn from(error: BlockAssemblerError) -> Self
fn from(error: BlockAssemblerError) -> Self
Converts to this type from the input type.
source§impl From<BlockAssemblerError> for InternalError
impl From<BlockAssemblerError> for InternalError
source§fn from(error: BlockAssemblerError) -> Self
fn from(error: BlockAssemblerError) -> Self
Converts to this type from the input type.
source§impl PartialEq for BlockAssemblerError
impl PartialEq for BlockAssemblerError
source§fn eq(&self, other: &BlockAssemblerError) -> bool
fn eq(&self, other: &BlockAssemblerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for BlockAssemblerError
impl StructuralPartialEq for BlockAssemblerError
Auto Trait Implementations§
impl Freeze for BlockAssemblerError
impl RefUnwindSafe for BlockAssemblerError
impl Send for BlockAssemblerError
impl Sync for BlockAssemblerError
impl Unpin for BlockAssemblerError
impl UnwindSafe for BlockAssemblerError
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