mail_parser::parsers::message

Trait IntoByteSlice

Source
pub trait IntoByteSlice<'x> {
    // Required method
    fn into_byte_slice(self) -> &'x [u8] ;
}

Required Methods§

Source

fn into_byte_slice(self) -> &'x [u8]

Implementations on Foreign Types§

Source§

impl<'x> IntoByteSlice<'x> for &'x str

Source§

fn into_byte_slice(self) -> &'x [u8]

Source§

impl<'x> IntoByteSlice<'x> for &'x String

Source§

fn into_byte_slice(self) -> &'x [u8]

Source§

impl<'x> IntoByteSlice<'x> for &'x Vec<u8>

Source§

fn into_byte_slice(self) -> &'x [u8]

Source§

impl<'x> IntoByteSlice<'x> for &'x [u8]

Source§

fn into_byte_slice(self) -> &'x [u8]

Source§

impl<'x, const N: usize> IntoByteSlice<'x> for &'x [u8; N]

Source§

fn into_byte_slice(self) -> &'x [u8]

Implementors§