Skip to main content

Signable

Trait Signable 

Source
pub trait Signable<W> {
    // Required method
    fn write(&self, writer: &mut W);
}
Expand description

Something that we know how to hash and sign.

Required Methods§

Source

fn write(&self, writer: &mut W)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, W> Signable<W> for T
where T: BcsSignable, W: Write,

Source§

impl<W> Signable<W> for EpochId
where W: Write,