pub trait IntoCowBytes<'a> {
    // Required method
    fn into(self) -> Cow<'a, [u8]>;
}
Expand description

Trait representing the ability to convert self to a Cow<'a, [u8]>

Required Methods§

source

fn into(self) -> Cow<'a, [u8]>

Consume self and produce a Cow<'a, [u8]>

Implementations on Foreign Types§

source§

impl<'a> IntoCowBytes<'a> for &'a [u8]

source§

fn into(self) -> Cow<'a, [u8]>

source§

impl<'a> IntoCowBytes<'a> for Cow<'a, [u8]>

source§

fn into(self) -> Cow<'a, [u8]>

source§

impl<'a> IntoCowBytes<'a> for Vec<u8>

source§

fn into(self) -> Cow<'a, [u8]>

Implementors§