Enum bdk::keys::ScriptContextEnum [−][src]
pub enum ScriptContextEnum { Legacy, Segwitv0, }
Expand description
Enum representation of the known valid ScriptContext
s
Variants
Legacy scripts
Segwitv0 scripts
Implementations
Returns whether the script context is ScriptContextEnum::Legacy
Returns whether the script context is ScriptContextEnum::Segwitv0
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScriptContextEnum
impl Send for ScriptContextEnum
impl Sync for ScriptContextEnum
impl Unpin for ScriptContextEnum
impl UnwindSafe for ScriptContextEnum
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V