Struct dialectic_tokio_serde_bincode::Bincode [−][src]
The Bincode binary serialization format.
To construct with default options, use Bincode::default()
. To configure custom options, use
the Bincode crate’s bincode::Options builder, then the .into()
method to
construct a Bincode
.
Trait Implementations
impl<O: Clone + Options> Clone for Bincode<O>
[src]
impl<O: Copy + Options> Copy for Bincode<O>
[src]
impl<O: Debug + Options> Debug for Bincode<O>
[src]
impl<O: Default + Options> Default for Bincode<O>
[src]
impl<O: Options + Clone, Input> Deserializer<Input> for Bincode<O> where
Input: AsRef<[u8]>,
[src]
Input: AsRef<[u8]>,
type Error = Error
The type of errors during deserialization.
fn deserialize<T: for<'a> Deserialize<'a>>(
&mut self,
src: &Input
) -> Result<T, Self::Error>
[src]
&mut self,
src: &Input
) -> Result<T, Self::Error>
impl<O: Options> From<O> for Bincode<O>
[src]
impl<O: Options + Clone> Serializer for Bincode<O>
[src]
Auto Trait Implementations
impl<O> RefUnwindSafe for Bincode<O> where
O: RefUnwindSafe,
O: RefUnwindSafe,
impl<O> Send for Bincode<O> where
O: Send,
O: Send,
impl<O> Sync for Bincode<O> where
O: Sync,
O: Sync,
impl<O> Unpin for Bincode<O> where
O: Unpin,
O: Unpin,
impl<O> UnwindSafe for Bincode<O> where
O: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<'a, T, S> As<'a, Val, T> for S where
S: Into<T>,
S: Into<T>,
pub fn as_convention(this: S) -> T
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<'a, T> By<'a, Mut> for T where
T: 'a + ?Sized,
T: 'a + ?Sized,
type Type = &'a mut T
The type of Self
when called by Convention
.
pub fn copy(this: <T as By<'a, Mut>>::Type) -> T where
T: Copy,
T: Copy,
pub fn clone(this: <T as By<'a, Mut>>::Type) -> T where
T: Clone,
T: Clone,
impl<'a, T> By<'a, Ref> for T where
T: 'a + ?Sized,
T: 'a + ?Sized,
type Type = &'a T
The type of Self
when called by Convention
.
pub fn copy(this: <T as By<'a, Ref>>::Type) -> T where
T: Copy,
T: Copy,
pub fn clone(this: <T as By<'a, Ref>>::Type) -> T where
T: Clone,
T: Clone,
impl<'a, T> By<'a, Val> for T
type Type = T
The type of Self
when called by Convention
.
pub fn copy(this: <T as By<'a, Val>>::Type) -> T where
T: Copy,
T: Copy,
pub fn clone(this: <T as By<'a, Val>>::Type) -> T where
T: Clone,
T: Clone,
impl<'a, T> Convert<'a, Mut, Mut> for T where
T: 'a,
T: 'a,
impl<'a, T> Convert<'a, Mut, Ref> for T where
T: 'a,
T: 'a,
impl<'a, T> Convert<'a, Mut, Val> for T where
T: 'a + Clone,
T: 'a + Clone,
impl<'a, T> Convert<'a, Ref, Ref> for T where
T: 'a,
T: 'a,
impl<'a, T> Convert<'a, Ref, Val> for T where
T: 'a + Clone,
T: 'a + Clone,
impl<'a, T> Convert<'a, Val, Val> for T
pub fn convert(from: T) -> T
impl<T> From<!> for 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,