KeyFromBytes

Trait KeyFromBytes 

Source
pub trait KeyFromBytes: Sized {
    // Required method
    fn from_raw_bytes(bytes: &[u8]) -> Option<Self>;
}
Expand description

Create an EdDSA key from bytes

Required Methods§

Source

fn from_raw_bytes(bytes: &[u8]) -> Option<Self>

Create an EdDSA key from bytes

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.

Implementations on Foreign Types§

Source§

impl KeyFromBytes for VerifyingKey

Source§

fn from_raw_bytes(bytes: &[u8]) -> Option<Self>

Source§

impl KeyFromBytes for VerifyingKey

Source§

fn from_raw_bytes(bytes: &[u8]) -> Option<Self>

Implementors§