[−][src]Enum miniscript::miniscript::types::malleability::Dissat
Whether the fragment has a dissatisfaction, and if so, whether it is unique. Affects both correctness and malleability-freeness, since we assume 3rd parties are able to produce dissatisfactions for all fragments.
Variants
Fragment has no dissatisfactions and will abort given non-satisfying input.
Fragment has a unique dissatisfaction, which is always available,
and will push 0 given this dissatisfaction as input. The combination
of Dissat::Unique
and Input::Zero
implies that a fragment is
impossible to satisfy (is a 0
or equivalent).
No assumptions may be made about dissatisfying this fragment. This
does not necessarily mean that there are multiple dissatisfactions;
there may be none, or none that are always available (e.g. for a
pk_h
the key preimage may not be available).
Trait Implementations
impl Clone for Dissat
[src]
impl Copy for Dissat
[src]
impl Debug for Dissat
[src]
impl Eq for Dissat
[src]
impl Hash for Dissat
[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 Ord for Dissat
[src]
fn cmp(&self, other: &Dissat) -> 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 PartialEq<Dissat> for Dissat
[src]
impl PartialOrd<Dissat> for Dissat
[src]
fn partial_cmp(&self, other: &Dissat) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Dissat
[src]
impl StructuralPartialEq for Dissat
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dissat
impl Send for Dissat
impl Sync for Dissat
impl Unpin for Dissat
impl UnwindSafe for Dissat
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, 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>,