Trait Signable

Source
pub trait Signable {
    // Required method
    fn to_bytes(&self) -> Cow<'_, [u8]>;
}
Expand description

Data that can be signed.

Required Methods§

Source

fn to_bytes(&self) -> Cow<'_, [u8]>

Get the raw bytes to be signed.

Implementations on Foreign Types§

Source§

impl Signable for &str

Source§

fn to_bytes(&self) -> Cow<'_, [u8]>

Source§

impl Signable for String

Source§

fn to_bytes(&self) -> Cow<'_, [u8]>

Implementors§