pub trait IntoHttpBytes {
    // Required method
    fn into_http_bytes(self) -> Result<Vec<u8>, RuntimeCodec>;
}

Required Methods§

Implementations on Foreign Types§

§

impl IntoHttpBytes for &str

§

impl IntoHttpBytes for &[u8]

§

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

§

impl IntoHttpBytes for ()

§

impl IntoHttpBytes for Box<str>

§

impl IntoHttpBytes for Box<[u8]>

§

impl IntoHttpBytes for Rc<str>

§

impl IntoHttpBytes for Rc<[u8]>

§

impl IntoHttpBytes for String

§

impl IntoHttpBytes for Arc<str>

§

impl IntoHttpBytes for Arc<[u8]>

§

impl IntoHttpBytes for Vec<u8>

Implementors§

§

impl<T> IntoHttpBytes for Twhere T: Serialize, NotBytesWrapper<T>: NotBytes,