Trait IntoVecBytes

Source
pub trait IntoVecBytes: Sized {
    // Required method
    fn to_be_bytes(a: Self) -> Vec<u8> ;
}

Required Methods§

Source

fn to_be_bytes(a: Self) -> Vec<u8>

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 IntoVecBytes for u16

Source§

impl IntoVecBytes for usize

Implementors§