[−][src]Struct tokio_serde::formats::Bincode
This is supported on crate feature
bincode
only.Bincode codec using bincode crate.
Trait Implementations
impl<Item, SinkItem, O> Debug for Bincode<Item, SinkItem, O>
[src]
impl<Item, SinkItem> Default for Bincode<Item, SinkItem>
[src]
impl<Item, SinkItem, O> Deserializer<Item> for Bincode<Item, SinkItem, O> where
Item: Deserialize<'a>,
O: Options + Clone,
[src]
Item: Deserialize<'a>,
O: Options + Clone,
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, O> From<O> for Bincode<Item, SinkItem, O> where
O: Options,
[src]
O: Options,
impl<Item, SinkItem, O> Serializer<SinkItem> for Bincode<Item, SinkItem, O> where
SinkItem: Serialize,
O: Options + Clone,
[src]
SinkItem: Serialize,
O: Options + Clone,
Auto Trait Implementations
impl<Item, SinkItem, O> RefUnwindSafe for Bincode<Item, SinkItem, O> where
Item: RefUnwindSafe,
O: RefUnwindSafe,
SinkItem: RefUnwindSafe,
[src]
Item: RefUnwindSafe,
O: RefUnwindSafe,
SinkItem: RefUnwindSafe,
impl<Item, SinkItem, O> Send for Bincode<Item, SinkItem, O> where
Item: Send,
O: Send,
SinkItem: Send,
[src]
Item: Send,
O: Send,
SinkItem: Send,
impl<Item, SinkItem, O> Sync for Bincode<Item, SinkItem, O> where
Item: Sync,
O: Sync,
SinkItem: Sync,
[src]
Item: Sync,
O: Sync,
SinkItem: Sync,
impl<Item, SinkItem, O> Unpin for Bincode<Item, SinkItem, O> where
Item: Unpin,
O: Unpin,
SinkItem: Unpin,
[src]
Item: Unpin,
O: Unpin,
SinkItem: Unpin,
impl<Item, SinkItem, O> UnwindSafe for Bincode<Item, SinkItem, O> where
Item: UnwindSafe,
O: UnwindSafe,
SinkItem: UnwindSafe,
[src]
Item: UnwindSafe,
O: 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>,