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
ser: fn(_: &T, _: &mut Vec<u8>)
The serialize function.
de: fn(_: &[u8]) -> Result<T>
The deserialize function.
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>