#[non_exhaustive]pub enum Defect {
NoTransactions,
LossyBytes,
UnclassifiedErrors,
NoMigrationLedger,
}Expand description
One way for a wrapped backend to be wrong, for the known-bad controls.
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.
NoTransactions
begin returns a transaction whose statements run at once and whose rollback and drop do
nothing.
LossyBytes
A byte parameter is cut to its first byte.
UnclassifiedErrors
Every error comes back as RelError::Backend.
NoMigrationLedger
As a migrator (Migrates): no ledger, no checksum, no transaction; every
migration runs again each time it is asked. Used by migrate_conformance.
Trait Implementations§
impl Copy for Defect
impl Eq for Defect
impl StructuralPartialEq for Defect
Auto Trait Implementations§
impl Freeze for Defect
impl RefUnwindSafe for Defect
impl Send for Defect
impl Sync for Defect
impl Unpin for Defect
impl UnsafeUnpin for Defect
impl UnwindSafe for Defect
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