SigUtils

Trait SigUtils 

Source
pub trait SigUtils<const L: usize>: Sized {
    const LENGTH: usize = L;

    // Required methods
    fn to_bytes(self) -> [u8; L];
    fn from_bytes(bytes: [u8; L]) -> Option<Self>;
}

Provided Associated Constants§

Source

const LENGTH: usize = L

Required Methods§

Source

fn to_bytes(self) -> [u8; L]

Source

fn from_bytes(bytes: [u8; L]) -> Option<Self>

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.

Implementors§