pub struct MessagePackDecoder<T> { /* private fields */ }Expand description
A deserializer that takes a serde deserializable T and implements
protosocket::Decoder. You can use this with a protosocket
Connection or rpc.
Trait Implementations§
Source§impl<T: Debug> Debug for MessagePackDecoder<T>
impl<T: Debug> Debug for MessagePackDecoder<T>
Source§impl<T> Decoder for MessagePackDecoder<T>where
T: DeserializeOwned + Debug,
impl<T> Decoder for MessagePackDecoder<T>where
T: DeserializeOwned + Debug,
Auto Trait Implementations§
impl<T> Freeze for MessagePackDecoder<T>
impl<T> RefUnwindSafe for MessagePackDecoder<T>where
T: RefUnwindSafe,
impl<T> Send for MessagePackDecoder<T>where
T: Send,
impl<T> Sync for MessagePackDecoder<T>where
T: Sync,
impl<T> Unpin for MessagePackDecoder<T>where
T: Unpin,
impl<T> UnsafeUnpin for MessagePackDecoder<T>
impl<T> UnwindSafe for MessagePackDecoder<T>where
T: UnwindSafe,
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