Struct grpcio::Marshaller[][src]

pub struct Marshaller<T> {
    pub ser: fn(_: &T, _: &mut Vec<u8>),
    pub de: fn(_: &[u8]) -> Result<T>,
}

Defines how to serialize and deserialize between the specialized type and byte slice.

Fields

The serialize function.

The deserialize function.

Auto Trait Implementations

impl<T> Send for Marshaller<T>

impl<T> Sync for Marshaller<T>