pub enum EnqueueError {
Closed(Option<Bytes>),
BufferLimitHit(Option<Bytes>),
}Expand description
An error that can occur while attempting to enqueue an item.
Variants§
Closed(Option<Bytes>)
The IO core was shut down, there is no connection anymore to send through.
BufferLimitHit(Option<Bytes>)
The request limit for locally buffered requests was hit, try again.
Trait Implementations§
Source§impl Debug for EnqueueError
impl Debug for EnqueueError
Source§impl Display for EnqueueError
impl Display for EnqueueError
Source§impl Error for EnqueueError
impl Error for EnqueueError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !Freeze for EnqueueError
impl RefUnwindSafe for EnqueueError
impl Send for EnqueueError
impl Sync for EnqueueError
impl Unpin for EnqueueError
impl UnwindSafe for EnqueueError
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