[][src]Trait serde_bytes::Serialize

pub trait Serialize {
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer
; }

Types that can be serialized via #[serde(with = "serde_bytes")].

Required methods

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
    S: Serializer

Loading content...

Implementations on Foreign Types

impl Serialize for [u8][src]

impl Serialize for Vec<u8>[src]

impl<'a> Serialize for Cow<'a, [u8]>[src]

impl<'a> Serialize for Cow<'a, Bytes>[src]

impl<'a, T: ?Sized> Serialize for &'a T where
    T: Serialize
[src]

impl<T: ?Sized> Serialize for Box<T> where
    T: Serialize
[src]

Loading content...

Implementors

impl Serialize for ByteBuf[src]

impl Serialize for Bytes[src]

Loading content...