pub enum MatchToken {
OpCode(OpCodes),
Push(Vec<u8>),
PushData(OpCodes, Vec<u8>),
AnyData,
Data(usize, DataLengthConstraints),
Signature,
PublicKey,
PublicKeyHash,
}
Variants§
OpCode(OpCodes)
Push(Vec<u8>)
PushData(OpCodes, Vec<u8>)
AnyData
Data(usize, DataLengthConstraints)
Signature
PublicKey
PublicKeyHash
Trait Implementations§
Source§impl Clone for MatchToken
impl Clone for MatchToken
Source§fn clone(&self) -> MatchToken
fn clone(&self) -> MatchToken
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MatchToken
impl Debug for MatchToken
Auto Trait Implementations§
impl Freeze for MatchToken
impl RefUnwindSafe for MatchToken
impl Send for MatchToken
impl Sync for MatchToken
impl Unpin for MatchToken
impl UnwindSafe for MatchToken
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