Enum bee_message::unlock::UnlockBlock [−][src]
pub enum UnlockBlock {
Signature(SignatureUnlock),
Reference(ReferenceUnlock),
}Expand description
Defines the mechanism by which a transaction input is authorized to be consumed.
Variants
Signature(SignatureUnlock)
Tuple Fields
A signature unlock block.
Reference(ReferenceUnlock)
Tuple Fields
A reference unlock block.
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Returns the length of the packed bytes.
Packs the instance to bytes and writes them to the passed writer.
Reads bytes from the passed reader and unpacks them into an instance.
Packs the instance to bytes and writes them to a newly allocated vector.
Reads bytes from the passed reader and unpacks them into an instance. Applies syntactic checks. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for UnlockBlock
impl Send for UnlockBlock
impl Sync for UnlockBlock
impl Unpin for UnlockBlock
impl UnwindSafe for UnlockBlock
Blanket Implementations
Mutably borrows from an owned value. Read more
