pub enum PsbtError {
SignError(SignError),
KeyNotUnique,
KeyNotFound,
UnknownOutputType,
InvalidOpReturn(&'static str),
}Variants§
Trait Implementations§
Source§impl Error for PsbtError
impl Error for PsbtError
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<PayloadError> for PsbtError
impl From<PayloadError> for PsbtError
Source§fn from(value: PayloadError) -> Self
fn from(value: PayloadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PsbtError
impl RefUnwindSafe for PsbtError
impl Send for PsbtError
impl Sync for PsbtError
impl Unpin for PsbtError
impl UnwindSafe for PsbtError
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