pub enum InterpreterCheckInputError {
Constructor {
input_index: usize,
error: Error,
},
Satisfaction {
input_index: usize,
error: Error,
},
}Expand description
Error type for Pbst Input
Variants§
Constructor
Failed to construct a miniscript::Interpreter.
Fields
Satisfaction
Interpreter satisfaction failed for input.
Trait Implementations§
Source§impl Debug for InterpreterCheckInputError
impl Debug for InterpreterCheckInputError
Source§impl Display for InterpreterCheckInputError
impl Display for InterpreterCheckInputError
Source§impl Error for InterpreterCheckInputError
Available on crate feature std only.
impl Error for InterpreterCheckInputError
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<InterpreterCheckInputError> for InterpreterCheckError
impl From<InterpreterCheckInputError> for InterpreterCheckError
Source§fn from(e: InterpreterCheckInputError) -> Self
fn from(e: InterpreterCheckInputError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InterpreterCheckInputError
impl RefUnwindSafe for InterpreterCheckInputError
impl Send for InterpreterCheckInputError
impl Sync for InterpreterCheckInputError
impl Unpin for InterpreterCheckInputError
impl UnsafeUnpin for InterpreterCheckInputError
impl UnwindSafe for InterpreterCheckInputError
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