SignedMessageOutput

Trait SignedMessageOutput 

Source
pub trait SignedMessageOutput<'a> {
    // Required methods
    fn message(&self) -> &[u8] ;
    fn public_key(&self) -> &Byte32Array;
    fn signature(&self) -> &Byte64Array;
    fn verify_message<OutputError: Error>(&self) -> Result<(), OutputError>;
}

Required Methods§

Source

fn message(&self) -> &[u8]

Source

fn public_key(&self) -> &Byte32Array

Source

fn signature(&self) -> &Byte64Array

Source

fn verify_message<OutputError: Error>(&self) -> Result<(), OutputError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§