pub struct QueueError<V>(/* private fields */);Expand description
Error returned by the sink, when underlying pool is closed
The error contains underlying item that was sent using start_send
Implementations§
Source§impl<T> QueueError<T>
impl<T> QueueError<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Return ownership of contained message
Trait Implementations§
Source§impl<T> Debug for QueueError<T>
impl<T> Debug for QueueError<T>
Source§impl<T> Display for QueueError<T>
impl<T> Display for QueueError<T>
Source§impl<T> Error for QueueError<T>
impl<T> Error for QueueError<T>
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl<V> Freeze for QueueError<V>where
V: Freeze,
impl<V> RefUnwindSafe for QueueError<V>where
V: RefUnwindSafe,
impl<V> Send for QueueError<V>where
V: Send,
impl<V> Sync for QueueError<V>where
V: Sync,
impl<V> Unpin for QueueError<V>where
V: Unpin,
impl<V> UnwindSafe for QueueError<V>where
V: 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