pub enum TestMempoolAcceptError {
MempoolAcceptance(MempoolAcceptanceError),
}Expand description
Error when converting a TestMempoolAccept type into the model type.
Variants§
MempoolAcceptance(MempoolAcceptanceError)
Conversion of one of the mempool acceptance results failed.
Trait Implementations§
Source§impl Debug for TestMempoolAcceptError
impl Debug for TestMempoolAcceptError
Source§impl Display for TestMempoolAcceptError
impl Display for TestMempoolAcceptError
Source§impl Error for TestMempoolAcceptError
Available on crate feature std only.
impl Error for TestMempoolAcceptError
Available on crate feature
std only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<MempoolAcceptanceError> for TestMempoolAcceptError
impl From<MempoolAcceptanceError> for TestMempoolAcceptError
Source§fn from(e: MempoolAcceptanceError) -> TestMempoolAcceptError
fn from(e: MempoolAcceptanceError) -> TestMempoolAcceptError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TestMempoolAcceptError
impl RefUnwindSafe for TestMempoolAcceptError
impl Send for TestMempoolAcceptError
impl Sync for TestMempoolAcceptError
impl Unpin for TestMempoolAcceptError
impl UnsafeUnpin for TestMempoolAcceptError
impl UnwindSafe for TestMempoolAcceptError
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