pub trait DomainParameter: Clone {
    // Required method
    fn into_bytes(self) -> Vec<u8>;
}
Expand description

The domain parameter trait is used during hashing to convey extra arguments to domain string generation. It is also used by generic signing code.

Required Methods§

source

fn into_bytes(self) -> Vec<u8>

Conversion into vector of bytes

Implementations on Foreign Types§

source§

impl DomainParameter for u32

source§

impl DomainParameter for u64

source§

impl DomainParameter for ()

Implementors§