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§
impl RefUnwindSafe for ProtoTube
impl Send for ProtoTube
impl Sync for ProtoTube
impl Unpin for ProtoTube
impl UnwindSafe for ProtoTube
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more