Struct tokio_serde::formats::MessagePack
source · pub struct MessagePack<Item, SinkItem> { /* private fields */ }
Available on crate feature
messagepack
only.Expand description
MessagePack codec using rmp-serde crate.
Trait Implementations§
source§impl<Item, SinkItem> Debug for MessagePack<Item, SinkItem>
impl<Item, SinkItem> Debug for MessagePack<Item, SinkItem>
source§impl<Item, SinkItem> Default for MessagePack<Item, SinkItem>
impl<Item, SinkItem> Default for MessagePack<Item, SinkItem>
source§impl<Item, SinkItem> Deserializer<Item> for MessagePack<Item, SinkItem>where
for<'a> Item: Deserialize<'a>,
impl<Item, SinkItem> Deserializer<Item> for MessagePack<Item, SinkItem>where
for<'a> Item: Deserialize<'a>,
Auto Trait Implementations§
impl<Item, SinkItem> RefUnwindSafe for MessagePack<Item, SinkItem>where
Item: RefUnwindSafe,
SinkItem: RefUnwindSafe,
impl<Item, SinkItem> Send for MessagePack<Item, SinkItem>
impl<Item, SinkItem> Sync for MessagePack<Item, SinkItem>
impl<Item, SinkItem> Unpin for MessagePack<Item, SinkItem>
impl<Item, SinkItem> UnwindSafe for MessagePack<Item, SinkItem>where
Item: UnwindSafe,
SinkItem: 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