Enum bee_message::signature::SignatureUnlock [−][src]
#[non_exhaustive]
pub enum SignatureUnlock {
Ed25519(Ed25519Signature),
}A SignatureUnlock contains a signature which is used to unlock a transaction input.
This is defined as part of the Unspent Transaction Output (UTXO) transaction protocol.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ed25519(Ed25519Signature)An Ed25519 signature.
Implementations
impl SignatureUnlock[src]
impl SignatureUnlock[src]Trait Implementations
impl Clone for SignatureUnlock[src]
impl Clone for SignatureUnlock[src]fn clone(&self) -> SignatureUnlock[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for SignatureUnlock[src]
impl Eq for SignatureUnlock[src]impl From<Ed25519Signature> for SignatureUnlock[src]
impl From<Ed25519Signature> for SignatureUnlock[src]fn from(signature: Ed25519Signature) -> Self[src]
impl From<SignatureUnlock> for UnlockBlock[src]
impl From<SignatureUnlock> for UnlockBlock[src]fn from(signature: SignatureUnlock) -> Self[src]
impl Hash for SignatureUnlock[src]
impl Hash for SignatureUnlock[src]impl Packable for SignatureUnlock[src]
impl Packable for SignatureUnlock[src]type Error = Error
Associated error type.
fn packed_len(&self) -> usize[src]
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>[src]
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R
) -> Result<Self, Self::Error>[src]
reader: &mut R
) -> Result<Self, Self::Error>
pub fn pack_new(&self) -> Vec<u8, Global>[src]
pub fn unpack<R>(reader: &mut R) -> Result<Self, Self::Error> where
R: Read + ?Sized, [src]
R: Read + ?Sized,
pub fn unpack_unchecked<R>(reader: &mut R) -> Result<Self, Self::Error> where
R: Read + ?Sized, [src]
R: Read + ?Sized,
impl PartialEq<SignatureUnlock> for SignatureUnlock[src]
impl PartialEq<SignatureUnlock> for SignatureUnlock[src]fn eq(&self, other: &SignatureUnlock) -> bool[src]
fn ne(&self, other: &SignatureUnlock) -> bool[src]
impl StructuralEq for SignatureUnlock[src]
impl StructuralEq for SignatureUnlock[src]impl StructuralPartialEq for SignatureUnlock[src]
impl StructuralPartialEq for SignatureUnlock[src]Auto Trait Implementations
impl RefUnwindSafe for SignatureUnlock
impl RefUnwindSafe for SignatureUnlockimpl Send for SignatureUnlock
impl Send for SignatureUnlockimpl Sync for SignatureUnlock
impl Sync for SignatureUnlockimpl Unpin for SignatureUnlock
impl Unpin for SignatureUnlockimpl UnwindSafe for SignatureUnlock
impl UnwindSafe for SignatureUnlock