[−][src]Struct tokio_serde::formats::MessagePack
This is supported on crate feature
messagepack
only.MessagePack codec using rmp-serde crate.
Trait Implementations
impl<Item, SinkItem> Debug for MessagePack<Item, SinkItem>
[src]
impl<Item, SinkItem> Default for MessagePack<Item, SinkItem>
[src]
impl<Item, SinkItem> Deserializer<Item> for MessagePack<Item, SinkItem> where
Item: Deserialize<'a>,
[src]
Item: Deserialize<'a>,
type Error = Error
pub fn deserialize(
self: Pin<&mut Self>,
src: &BytesMut
) -> Result<Item, Self::Error>
[src]
self: Pin<&mut Self>,
src: &BytesMut
) -> Result<Item, Self::Error>
impl<Item, SinkItem> Serializer<SinkItem> for MessagePack<Item, SinkItem> where
SinkItem: Serialize,
[src]
SinkItem: Serialize,
Auto Trait Implementations
impl<Item, SinkItem> RefUnwindSafe for MessagePack<Item, SinkItem> where
Item: RefUnwindSafe,
SinkItem: RefUnwindSafe,
[src]
Item: RefUnwindSafe,
SinkItem: RefUnwindSafe,
impl<Item, SinkItem> Send for MessagePack<Item, SinkItem> where
Item: Send,
SinkItem: Send,
[src]
Item: Send,
SinkItem: Send,
impl<Item, SinkItem> Sync for MessagePack<Item, SinkItem> where
Item: Sync,
SinkItem: Sync,
[src]
Item: Sync,
SinkItem: Sync,
impl<Item, SinkItem> Unpin for MessagePack<Item, SinkItem> where
Item: Unpin,
SinkItem: Unpin,
[src]
Item: Unpin,
SinkItem: Unpin,
impl<Item, SinkItem> UnwindSafe for MessagePack<Item, SinkItem> where
Item: UnwindSafe,
SinkItem: UnwindSafe,
[src]
Item: UnwindSafe,
SinkItem: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,