#[non_exhaustive]pub enum OperatorIntervention {
QueryCanceled,
AdminShutdown,
CrashShutdown,
CannotConnectNow,
DatabaseDropped,
}Available on crate feature
postgres only.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.
Implementations§
Trait Implementations§
Source§impl Clone for OperatorIntervention
impl Clone for OperatorIntervention
Source§fn clone(&self) -> OperatorIntervention
fn clone(&self) -> OperatorIntervention
Returns a duplicate of the value. Read more
1.0.0 · 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 OperatorIntervention
impl Debug for OperatorIntervention
Source§impl FromStr for OperatorIntervention
impl FromStr for OperatorIntervention
Source§impl Hash for OperatorIntervention
impl Hash for OperatorIntervention
Source§impl PartialEq for OperatorIntervention
impl PartialEq for OperatorIntervention
impl Eq for OperatorIntervention
impl StructuralPartialEq for OperatorIntervention
Auto Trait Implementations§
impl Freeze for OperatorIntervention
impl RefUnwindSafe for OperatorIntervention
impl Send for OperatorIntervention
impl Sync for OperatorIntervention
impl Unpin for OperatorIntervention
impl UnwindSafe for OperatorIntervention
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