GetBytes

Trait GetBytes 

Source
pub trait GetBytes {
    // Required method
    fn get_bytes(&self) -> &[u8] ;
}

Required Methods§

Source

fn get_bytes(&self) -> &[u8]

Implementations on Foreign Types§

Source§

impl GetBytes for &str

Source§

fn get_bytes(&self) -> &[u8]

Source§

impl GetBytes for String

Source§

fn get_bytes(&self) -> &[u8]

Implementors§