[−][src]Enum miniscript::miniscript::Bare
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 Bare
[src]
impl Debug for Bare
[src]
impl Eq for Bare
[src]
impl Ord for Bare
[src]
pub fn cmp(&self, other: &Bare) -> 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<Bare> for Bare
[src]
pub fn eq(&self, other: &Bare) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<Bare> for Bare
[src]
pub fn partial_cmp(&self, other: &Bare) -> 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 Bare
[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 Bare
[src]
impl StructuralPartialEq for Bare
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bare
impl Send for Bare
impl Sync for Bare
impl Unpin for Bare
impl UnwindSafe for Bare
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>,