Enum kaspa_mining::errors::MiningManagerError
source · pub enum MiningManagerError {
BlockTemplateBuilderError(BuilderError),
MempoolError(RuleError),
}Expand description
Re-export errors
Variants§
BlockTemplateBuilderError(BuilderError)
A consensus rule error
MempoolError(RuleError)
A mempool rule error
Trait Implementations§
source§impl Clone for MiningManagerError
impl Clone for MiningManagerError
source§fn clone(&self) -> MiningManagerError
fn clone(&self) -> MiningManagerError
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 MiningManagerError
impl Debug for MiningManagerError
source§impl Display for MiningManagerError
impl Display for MiningManagerError
source§impl Error for MiningManagerError
impl Error for MiningManagerError
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<BuilderError> for MiningManagerError
impl From<BuilderError> for MiningManagerError
source§fn from(source: BuilderError) -> MiningManagerError
fn from(source: BuilderError) -> MiningManagerError
Converts to this type from the input type.
source§impl From<RuleError> for MiningManagerError
impl From<RuleError> for MiningManagerError
source§fn from(source: RuleError) -> MiningManagerError
fn from(source: RuleError) -> MiningManagerError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MiningManagerError
impl Send for MiningManagerError
impl Sync for MiningManagerError
impl Unpin for MiningManagerError
impl UnwindSafe for MiningManagerError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere
T: Any + 'static,
§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any, which is backed by the type implementing this trait.§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any, which is backed by the type implementing this trait.