pub enum InstillError {
MaxDepthExceeded,
DfsTraversal(DfsTraversalError),
}Expand description
Errors happening during tree instill operation (see
TaprootScriptTree::instill).
Variants§
MaxDepthExceeded
unable to instill subtree into taproot script tree since the depth of the resulting tree exceeds taproot limit.
DfsTraversal(DfsTraversalError)
unable to instill subtree into taproot script tree since {0}
Trait Implementations§
Source§impl Clone for InstillError
impl Clone for InstillError
Source§fn clone(&self) -> InstillError
fn clone(&self) -> InstillError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstillError
impl Debug for InstillError
Source§impl Display for InstillError
impl Display for InstillError
Source§impl Error for InstillError
impl Error for InstillError
1.30.0 · 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<DfsTraversalError> for InstillError
impl From<DfsTraversalError> for InstillError
Source§fn from(v: DfsTraversalError) -> Self
fn from(v: DfsTraversalError) -> Self
Converts to this type from the input type.
Source§impl From<InstillError> for String
impl From<InstillError> for String
Source§fn from(err: InstillError) -> Self
fn from(err: InstillError) -> Self
Converts to this type from the input type.
Source§impl From<MaxDepthExceeded> for InstillError
impl From<MaxDepthExceeded> for InstillError
Source§fn from(v: MaxDepthExceeded) -> Self
fn from(v: MaxDepthExceeded) -> Self
Converts to this type from the input type.
Source§impl Hash for InstillError
impl Hash for InstillError
Source§impl Ord for InstillError
impl Ord for InstillError
Source§fn cmp(&self, other: &InstillError) -> Ordering
fn cmp(&self, other: &InstillError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstillError
impl PartialEq for InstillError
Source§impl PartialOrd for InstillError
impl PartialOrd for InstillError
impl Eq for InstillError
impl StructuralPartialEq for InstillError
Auto Trait Implementations§
impl Freeze for InstillError
impl RefUnwindSafe for InstillError
impl Send for InstillError
impl Sync for InstillError
impl Unpin for InstillError
impl UnwindSafe for InstillError
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