wasmer

Trait IntoBytes

Source
pub trait IntoBytes {
    // Required method
    fn into_bytes(self) -> Bytes;
}
Expand description

Convert binary data into bytes::Bytes.

Required Methods§

Source

fn into_bytes(self) -> Bytes

Convert binary data into bytes::Bytes.

Implementations on Foreign Types§

Source§

impl IntoBytes for &str

Source§

impl IntoBytes for &Vec<u8>

Source§

impl IntoBytes for &[u8]

Source§

impl IntoBytes for Cow<'_, [u8]>

Source§

impl IntoBytes for Vec<u8>

Source§

impl IntoBytes for Bytes

Source§

impl<const N: usize> IntoBytes for &[u8; N]

Implementors§