Trait ppppp_bytes::ToBytes

source ·
pub trait ToBytes<const LENGTH: usize>: Sized {
    // Required method
    fn to_bytes(&self) -> [u8; LENGTH];

    // Provided method
    fn to_base58(&self) -> String { ... }
}

Required Methods§

source

fn to_bytes(&self) -> [u8; LENGTH]

Provided Methods§

source

fn to_base58(&self) -> String

Implementors§