#[non_exhaustive]pub enum NextTimeoutError {
Timeout,
Disconnected,
}Expand description
Error returned when waiting for the next batch with a timeout.
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.
Timeout
The timeout elapsed before a batch was ready.
Disconnected
The pipeline finished and disconnected.
Trait Implementations§
Source§impl Clone for NextTimeoutError
impl Clone for NextTimeoutError
Source§fn clone(&self) -> NextTimeoutError
fn clone(&self) -> NextTimeoutError
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 moreimpl Copy for NextTimeoutError
Source§impl Debug for NextTimeoutError
impl Debug for NextTimeoutError
impl Eq for NextTimeoutError
Source§impl PartialEq for NextTimeoutError
impl PartialEq for NextTimeoutError
impl StructuralPartialEq for NextTimeoutError
Auto Trait Implementations§
impl Freeze for NextTimeoutError
impl RefUnwindSafe for NextTimeoutError
impl Send for NextTimeoutError
impl Sync for NextTimeoutError
impl Unpin for NextTimeoutError
impl UnsafeUnpin for NextTimeoutError
impl UnwindSafe for NextTimeoutError
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