pub struct ProtoTube(Tube);
Expand description

Wrapper for Tube used for sending and receiving protos - avoids extra overhead of serialization via serde_json. Since protos should be standalone objects we do not support sending of file descriptors as a normal Tube would.

Tuple Fields

0: Tube

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.