surrealcs_kernel::messages::serialization::traits

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>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoVecBytes for u16

source§

impl IntoVecBytes for usize

Implementors§