[−][src]Enum miniscript::BareCtx
Bare ScriptContext To be used as raw script pubkeys In general, it is not recommended to use Bare descriptors as they as strongly limited by standardness policies.
Trait Implementations
impl Clone for BareCtx
[src]
impl Debug for BareCtx
[src]
impl Eq for BareCtx
[src]
impl Hash for BareCtx
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for BareCtx
[src]
pub fn cmp(&self, other: &BareCtx) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<BareCtx> for BareCtx
[src]
pub fn eq(&self, other: &BareCtx) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<BareCtx> for BareCtx
[src]
pub fn partial_cmp(&self, other: &BareCtx) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl ScriptContext for BareCtx
[src]
pub fn check_terminal_non_malleable<Pk: MiniscriptKey, Ctx: ScriptContext>(
_frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
_frag: &Terminal<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn check_global_consensus_validity<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn check_local_consensus_validity<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn other_top_level_checks<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error>
pub fn max_satisfaction_size<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Option<usize>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Option<usize>
pub fn check_witness<Pk: MiniscriptKey, Ctx: ScriptContext>(
_witness: &[Vec<u8>]
) -> Result<(), ScriptContextError>
[src]
_witness: &[Vec<u8>]
) -> Result<(), ScriptContextError>
pub fn check_global_policy_validity<Pk: MiniscriptKey, Ctx: ScriptContext>(
_ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
_ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn check_local_policy_validity<Pk: MiniscriptKey, Ctx: ScriptContext>(
_ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
_ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn check_global_validity<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn check_local_validity<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), ScriptContextError>
pub fn top_level_type_check<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error>
pub fn top_level_checks<Pk: MiniscriptKey, Ctx: ScriptContext>(
ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error>
[src]
ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error>
impl StructuralEq for BareCtx
[src]
impl StructuralPartialEq for BareCtx
[src]
Auto Trait Implementations
impl RefUnwindSafe for BareCtx
[src]
impl Send for BareCtx
[src]
impl Sync for BareCtx
[src]
impl Unpin for BareCtx
[src]
impl UnwindSafe for BareCtx
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,