Trait clacc::Map

source ·
pub trait Map: Clone {
    // Required method
    fn map<V: Into<Vec<u8>>>(v: V) -> Vec<u8>;
}
Expand description

A trait describing a conversion from an arbitrary type to a fixed size byte vector.

Required Methods§

source

fn map<V: Into<Vec<u8>>>(v: V) -> Vec<u8>

Implementors§

source§

impl Map for clacc::ripemd::Map

source§

impl<const B: usize> Map for clacc::blake2::Map<B>