Struct grpcio::Marshaller [−][src]
pub struct Marshaller<T> { pub ser: fn(_: &T, _: &mut Vec<u8>), pub de: fn(_: &[u8]) -> Result<T>, }
Marshaller defines how to serialize and deserialize between T and byte slice.
Fields
ser: fn(_: &T, _: &mut Vec<u8>)
de: fn(_: &[u8]) -> Result<T>
Auto Trait Implementations
impl<T> Send for Marshaller<T>
impl<T> Send for Marshaller<T>
impl<T> Sync for Marshaller<T>
impl<T> Sync for Marshaller<T>