pub(crate) struct ForgeFailure(Box<dyn StdError + Send + Sync>);Expand description
A failure of a forge call, kept as its source.
Tuple Fields§
§0: Box<dyn StdError + Send + Sync>Implementations§
Trait Implementations§
Source§impl Debug for ForgeFailure
impl Debug for ForgeFailure
Source§impl Display for ForgeFailure
impl Display for ForgeFailure
Source§impl Error for ForgeFailure
impl Error for ForgeFailure
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<ForgeFailure> for ArtifactError
impl From<ForgeFailure> for ArtifactError
Source§fn from(source: ForgeFailure) -> Self
fn from(source: ForgeFailure) -> Self
Converts to this type from the input type.
Source§impl From<ForgeFailure> for ProposalError
impl From<ForgeFailure> for ProposalError
Source§fn from(source: ForgeFailure) -> Self
fn from(source: ForgeFailure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ForgeFailure
impl !UnwindSafe for ForgeFailure
impl Freeze for ForgeFailure
impl Send for ForgeFailure
impl Sync for ForgeFailure
impl Unpin for ForgeFailure
impl UnsafeUnpin for ForgeFailure
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