Enum dialectic_tokio_serde::RecvError [−][src]
An error while receiving from a Receiver
.
Variants
Deserialize(F::Error)
An error occurred while attempting to deserialize a value.
Decode(D::Error)
An error occurred while attempting to receive and decode a serialized value as a frame.
The underlying stream was closed.
Trait Implementations
impl<F, D> Clone for RecvError<F, D> where
F: Deserializer<D::Item>,
D: Decoder,
F::Error: Clone,
D::Error: Clone,
[src]
F: Deserializer<D::Item>,
D: Decoder,
F::Error: Clone,
D::Error: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<F: Deserializer<D::Item>, D: Decoder> Debug for RecvError<F, D> where
F::Error: Debug,
D::Error: Debug,
[src]
F::Error: Debug,
D::Error: Debug,
impl<F: Deserializer<D::Item>, D: Decoder> Display for RecvError<F, D> where
F::Error: Display,
D::Error: Display,
[src]
F::Error: Display,
D::Error: Display,
impl<F, D> Error for RecvError<F, D> where
F: Deserializer<D::Item>,
D: Decoder,
F::Error: Display + Debug,
D::Error: Display + Debug,
[src]
F: Deserializer<D::Item>,
D: Decoder,
F::Error: Display + Debug,
D::Error: Display + Debug,
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,
Auto Trait Implementations
impl<F, D> RefUnwindSafe for RecvError<F, D> where
<D as Decoder>::Error: RefUnwindSafe,
<F as Deserializer<<D as Decoder>::Item>>::Error: RefUnwindSafe,
<D as Decoder>::Error: RefUnwindSafe,
<F as Deserializer<<D as Decoder>::Item>>::Error: RefUnwindSafe,
impl<F, D> Send for RecvError<F, D> where
<D as Decoder>::Error: Send,
<F as Deserializer<<D as Decoder>::Item>>::Error: Send,
<D as Decoder>::Error: Send,
<F as Deserializer<<D as Decoder>::Item>>::Error: Send,
impl<F, D> Sync for RecvError<F, D> where
<D as Decoder>::Error: Sync,
<F as Deserializer<<D as Decoder>::Item>>::Error: Sync,
<D as Decoder>::Error: Sync,
<F as Deserializer<<D as Decoder>::Item>>::Error: Sync,
impl<F, D> Unpin for RecvError<F, D> where
<D as Decoder>::Error: Unpin,
<F as Deserializer<<D as Decoder>::Item>>::Error: Unpin,
<D as Decoder>::Error: Unpin,
<F as Deserializer<<D as Decoder>::Item>>::Error: Unpin,
impl<F, D> UnwindSafe for RecvError<F, D> where
<D as Decoder>::Error: UnwindSafe,
<F as Deserializer<<D as Decoder>::Item>>::Error: UnwindSafe,
<D as Decoder>::Error: UnwindSafe,
<F 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>,