pub enum IntoValueError<R> {
Pending(R),
Disconnected,
}Expand description
Error kind returned from R::into_value().
Variants§
Pending(R)
The value has not yet been sent.
This error returns the receiver R to the caller so they can try again later.
Disconnected
The sender disconnected before sending a value.
Trait Implementations§
Source§impl<R: Debug> Debug for IntoValueError<R>
impl<R: Debug> Debug for IntoValueError<R>
Source§impl<R: PartialEq> PartialEq for IntoValueError<R>
impl<R: PartialEq> PartialEq for IntoValueError<R>
impl<R: Eq> Eq for IntoValueError<R>
impl<R> StructuralPartialEq for IntoValueError<R>
Auto Trait Implementations§
impl<R> Freeze for IntoValueError<R>where
R: Freeze,
impl<R> RefUnwindSafe for IntoValueError<R>where
R: RefUnwindSafe,
impl<R> Send for IntoValueError<R>where
R: Send,
impl<R> Sync for IntoValueError<R>where
R: Sync,
impl<R> Unpin for IntoValueError<R>where
R: Unpin,
impl<R> UnwindSafe for IntoValueError<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more