Enum sapio_miniscript::miniscript::satisfy::Witness
source · pub enum Witness {
Stack(Vec<Vec<u8>>),
Unavailable,
Impossible,
}
Expand description
A witness, if available, for a Miniscript fragment
Variants§
Stack(Vec<Vec<u8>>)
Witness Available and the value of the witness
Third party can possibly satisfy the fragment but we cannot Witness Unavailable
Impossible
No third party can produce a satisfaction without private key Witness Impossible
Trait Implementations§
source§impl Ord for Witness
impl Ord for Witness
source§impl PartialEq for Witness
impl PartialEq for Witness
source§impl PartialOrd for Witness
impl PartialOrd for Witness
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Witness
impl StructuralEq for Witness
impl StructuralPartialEq for Witness
Auto Trait Implementations§
impl RefUnwindSafe for Witness
impl Send for Witness
impl Sync for Witness
impl Unpin for Witness
impl UnwindSafe for Witness
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