[−][src]Struct miniscript::miniscript::types::Error
Fields
fragment: Terminal<Pk>
The fragment that failed typecheck
error: ErrorKind
The reason that typechecking failed
Trait Implementations
impl<Pk: Clone + MiniscriptKey> Clone for Error<Pk>
[src]
impl<Pk: Debug + MiniscriptKey> Debug for Error<Pk>
[src]
impl<Pk: MiniscriptKey> Display for Error<Pk>
[src]
impl<Pk: Eq + MiniscriptKey> Eq for Error<Pk>
[src]
impl<Pk: MiniscriptKey> Error for Error<Pk>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl<Pk: Hash + MiniscriptKey> Hash for Error<Pk>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<Pk: Ord + MiniscriptKey> Ord for Error<Pk>
[src]
fn cmp(&self, other: &Error<Pk>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<Pk: PartialEq + MiniscriptKey> PartialEq<Error<Pk>> for Error<Pk>
[src]
impl<Pk: PartialOrd + MiniscriptKey> PartialOrd<Error<Pk>> for Error<Pk>
[src]
fn partial_cmp(&self, other: &Error<Pk>) -> Option<Ordering>
[src]
fn lt(&self, other: &Error<Pk>) -> bool
[src]
fn le(&self, other: &Error<Pk>) -> bool
[src]
fn gt(&self, other: &Error<Pk>) -> bool
[src]
fn ge(&self, other: &Error<Pk>) -> bool
[src]
impl<Pk: MiniscriptKey> StructuralEq for Error<Pk>
[src]
impl<Pk: MiniscriptKey> StructuralPartialEq for Error<Pk>
[src]
Auto Trait Implementations
impl<Pk> RefUnwindSafe for Error<Pk> where
Pk: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe,
Pk: RefUnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe,
impl<Pk> Send for Error<Pk> where
Pk: Send + Sync,
<Pk as MiniscriptKey>::Hash: Send + Sync,
Pk: Send + Sync,
<Pk as MiniscriptKey>::Hash: Send + Sync,
impl<Pk> Sync for Error<Pk> where
Pk: Send + Sync,
<Pk as MiniscriptKey>::Hash: Send + Sync,
Pk: Send + Sync,
<Pk as MiniscriptKey>::Hash: Send + Sync,
impl<Pk> Unpin for Error<Pk> where
Pk: Unpin,
<Pk as MiniscriptKey>::Hash: Unpin,
Pk: Unpin,
<Pk as MiniscriptKey>::Hash: Unpin,
impl<Pk> UnwindSafe for Error<Pk> where
Pk: RefUnwindSafe + UnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe,
Pk: RefUnwindSafe + UnwindSafe,
<Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,