TryIntoBytes

Trait TryIntoBytes 

Source
pub trait TryIntoBytes: Debug {
    // Required method
    fn try_into_bytes(self) -> ABIResult<Vec<u8>>
       where Self: Sized;
}

Required Methods§

Source

fn try_into_bytes(self) -> ABIResult<Vec<u8>>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl TryIntoBytes for ()

Source§

fn try_into_bytes(self) -> ABIResult<Vec<u8>>
where Self: Sized,

Source§

impl TryIntoBytes for String

Source§

fn try_into_bytes(self) -> ABIResult<Vec<u8>>
where Self: Sized,

Source§

impl TryIntoBytes for Vec<u8>

Source§

fn try_into_bytes(self) -> ABIResult<Vec<u8>>
where Self: Sized,

Implementors§