[][src]Struct grpcio::Marshaller

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>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]