Enum dialectic_tokio_serde::Error [−][src]
Variants
Send(SendError<F, E>)
An error occurred while attempting to send
a value.
Recv(RecvError<G, D>)
An error occurred while attempting to recv
a value.
Trait Implementations
impl<F, G, E, D> Clone for Error<F, G, E, D> where
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
F::Error: Clone,
G::Error: Clone,
E::Error: Clone,
D::Error: Clone,
[src]
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
F::Error: Clone,
G::Error: Clone,
E::Error: Clone,
D::Error: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F: Serializer, G: Deserializer<D::Item>, E: Encoder<F::Output>, D: Decoder> Debug for Error<F, G, E, D> where
F::Error: Debug,
G::Error: Debug,
E::Error: Debug,
D::Error: Debug,
[src]
F::Error: Debug,
G::Error: Debug,
E::Error: Debug,
D::Error: Debug,
impl<F: Serializer, G: Deserializer<D::Item>, E: Encoder<F::Output>, D: Decoder> Display for Error<F, G, E, D> where
F::Error: Display,
G::Error: Display,
E::Error: Display,
D::Error: Display,
[src]
F::Error: Display,
G::Error: Display,
E::Error: Display,
D::Error: Display,
impl<F, G, E, D> Error for Error<F, G, E, D> where
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
F::Error: Debug + Display,
G::Error: Debug + Display,
E::Error: Debug + Display,
D::Error: Debug + Display,
[src]
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
F::Error: Debug + Display,
G::Error: Debug + Display,
E::Error: Debug + Display,
D::Error: Debug + Display,
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<F, G, E, D> From<RecvError<G, D>> for Error<F, G, E, D> where
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
[src]
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
impl<F, G, E, D> From<SendError<F, E>> for Error<F, G, E, D> where
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
[src]
F: Serializer,
G: Deserializer<D::Item>,
E: Encoder<F::Output>,
D: Decoder,
Auto Trait Implementations
impl<F, G, E, D> RefUnwindSafe for Error<F, G, E, D> where
<D as Decoder>::Error: RefUnwindSafe,
<E as Encoder<<F as Serializer>::Output>>::Error: RefUnwindSafe,
<F as Serializer>::Error: RefUnwindSafe,
<G as Deserializer<<D as Decoder>::Item>>::Error: RefUnwindSafe,
<D as Decoder>::Error: RefUnwindSafe,
<E as Encoder<<F as Serializer>::Output>>::Error: RefUnwindSafe,
<F as Serializer>::Error: RefUnwindSafe,
<G as Deserializer<<D as Decoder>::Item>>::Error: RefUnwindSafe,
impl<F, G, E, D> Send for Error<F, G, E, D> where
<D as Decoder>::Error: Send,
<E as Encoder<<F as Serializer>::Output>>::Error: Send,
<F as Serializer>::Error: Send,
<G as Deserializer<<D as Decoder>::Item>>::Error: Send,
<D as Decoder>::Error: Send,
<E as Encoder<<F as Serializer>::Output>>::Error: Send,
<F as Serializer>::Error: Send,
<G as Deserializer<<D as Decoder>::Item>>::Error: Send,
impl<F, G, E, D> Sync for Error<F, G, E, D> where
<D as Decoder>::Error: Sync,
<E as Encoder<<F as Serializer>::Output>>::Error: Sync,
<F as Serializer>::Error: Sync,
<G as Deserializer<<D as Decoder>::Item>>::Error: Sync,
<D as Decoder>::Error: Sync,
<E as Encoder<<F as Serializer>::Output>>::Error: Sync,
<F as Serializer>::Error: Sync,
<G as Deserializer<<D as Decoder>::Item>>::Error: Sync,
impl<F, G, E, D> Unpin for Error<F, G, E, D> where
<D as Decoder>::Error: Unpin,
<E as Encoder<<F as Serializer>::Output>>::Error: Unpin,
<F as Serializer>::Error: Unpin,
<G as Deserializer<<D as Decoder>::Item>>::Error: Unpin,
<D as Decoder>::Error: Unpin,
<E as Encoder<<F as Serializer>::Output>>::Error: Unpin,
<F as Serializer>::Error: Unpin,
<G as Deserializer<<D as Decoder>::Item>>::Error: Unpin,
impl<F, G, E, D> UnwindSafe for Error<F, G, E, D> where
<D as Decoder>::Error: UnwindSafe,
<E as Encoder<<F as Serializer>::Output>>::Error: UnwindSafe,
<F as Serializer>::Error: UnwindSafe,
<G as Deserializer<<D as Decoder>::Item>>::Error: UnwindSafe,
<D as Decoder>::Error: UnwindSafe,
<E as Encoder<<F as Serializer>::Output>>::Error: UnwindSafe,
<F as Serializer>::Error: UnwindSafe,
<G as Deserializer<<D as Decoder>::Item>>::Error: 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<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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,