Trait rosv::SerializeToU8

source ·
pub trait SerializeToU8: Sized {
    // Required method
    fn to_u8(&self) -> Vec<u8> ;
}
Expand description

Marker trait for types

Required Methods§

source

fn to_u8(&self) -> Vec<u8>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SerializeToU8 for &str

source§

fn to_u8(&self) -> Vec<u8>

source§

impl SerializeToU8 for Rc<str>

source§

fn to_u8(&self) -> Vec<u8>

source§

impl SerializeToU8 for String

source§

fn to_u8(&self) -> Vec<u8>

source§

impl SerializeToU8 for Arc<str>

source§

fn to_u8(&self) -> Vec<u8>

Implementors§