#[non_exhaustive]pub enum VecDequeError {
PollError(Arc<BoxDynError>),
SendError(Arc<BoxDynError>),
}Expand description
Error type for VecDequeBackend
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PollError(Arc<BoxDynError>)
Error occurred during polling
SendError(Arc<BoxDynError>)
Error occurred during sending
Trait Implementations§
Source§impl Clone for VecDequeError
impl Clone for VecDequeError
Source§fn clone(&self) -> VecDequeError
fn clone(&self) -> VecDequeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VecDequeError
impl Debug for VecDequeError
Source§impl Display for VecDequeError
impl Display for VecDequeError
Source§impl Error for VecDequeError
impl Error for VecDequeError
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 !RefUnwindSafe for VecDequeError
impl !UnwindSafe for VecDequeError
impl Freeze for VecDequeError
impl Send for VecDequeError
impl Sync for VecDequeError
impl Unpin for VecDequeError
impl UnsafeUnpin for VecDequeError
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