pub trait Representor<N> {
    type Err;

    // Required method
    fn represent(n: N) -> Result<Vec<u8>, Self::Err>;
}

Required Associated Types§

Required Methods§

source

fn represent(n: N) -> Result<Vec<u8>, Self::Err>

Object Safety§

This trait is not object safe.

Implementors§