pub trait FromHttpBytes: Sized {
    // Required method
    fn from_http_bytes(input: Vec<u8>) -> Result<Self, RuntimeCodec>;
}

Required Methods§

fn from_http_bytes(input: Vec<u8>) -> Result<Self, RuntimeCodec>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

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

§

fn from_http_bytes(input: Vec<u8>) -> Result<Cow<'_, [u8]>, RuntimeCodec>

§

impl FromHttpBytes for ()

§

impl FromHttpBytes for Box<str>

§

impl FromHttpBytes for Box<[u8]>

§

impl FromHttpBytes for Rc<str>

§

impl FromHttpBytes for Rc<[u8]>

§

impl FromHttpBytes for String

§

impl FromHttpBytes for Arc<str>

§

impl FromHttpBytes for Arc<[u8]>

§

impl FromHttpBytes for Vec<u8>

Implementors§

§

impl<T> FromHttpBytes for Twhere T: DeserializeOwned, NotBytesWrapper<T>: NotBytes,