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§
Sourcefn into_bytes(self) -> Vec<u8> ⓘ
fn into_bytes(self) -> Vec<u8> ⓘ
Conversion into vector of bytes
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".