#[non_exhaustive]pub enum SweepError {
BadName(String),
ZeroBound,
NullCutoff,
Rel(RelError),
Dialect(String),
}Expand description
Why a sweep did not run or did not finish.
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.
BadName(String)
table or column is not a plain identifier.
ZeroBound
batch or max_batches is zero.
NullCutoff
The cutoff is NULL, which would match no row.
Rel(RelError)
The database refused a batch. Batches before it stay deleted.
Dialect(String)
The backend speaks a dialect this function has no statement for.
Trait Implementations§
Source§impl Clone for SweepError
impl Clone for SweepError
Source§impl Debug for SweepError
impl Debug for SweepError
Source§impl Display for SweepError
impl Display for SweepError
impl Eq for SweepError
Source§impl Error for SweepError
impl Error for SweepError
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()
Source§impl PartialEq for SweepError
impl PartialEq for SweepError
impl StructuralPartialEq for SweepError
Auto Trait Implementations§
impl Freeze for SweepError
impl RefUnwindSafe for SweepError
impl Send for SweepError
impl Sync for SweepError
impl Unpin for SweepError
impl UnsafeUnpin for SweepError
impl UnwindSafe for SweepError
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