pub enum ScriptTemplateErrors {
MatchFailure(usize, MatchToken, ScriptBit, BSVErrors),
OpDataParse(String, String),
LengthsDiffer,
MalformedHex(FromHexError),
}
Variants§
MatchFailure(usize, MatchToken, ScriptBit, BSVErrors)
OpDataParse(String, String)
LengthsDiffer
MalformedHex(FromHexError)
Trait Implementations§
Source§impl Debug for ScriptTemplateErrors
impl Debug for ScriptTemplateErrors
Source§impl Display for ScriptTemplateErrors
impl Display for ScriptTemplateErrors
Source§impl Error for ScriptTemplateErrors
impl Error for ScriptTemplateErrors
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<FromHexError> for ScriptTemplateErrors
impl From<FromHexError> for ScriptTemplateErrors
Source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScriptTemplateErrors
impl !RefUnwindSafe for ScriptTemplateErrors
impl Send for ScriptTemplateErrors
impl Sync for ScriptTemplateErrors
impl Unpin for ScriptTemplateErrors
impl !UnwindSafe for ScriptTemplateErrors
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