#[repr(u8)]pub enum Category {
Success = 83,
Warning = 87,
NoData = 78,
Exception = 88,
}
Expand description
A general category for a given SQLSTATE code.
The conditions Success
and NoData
are normally hidden by database driver abstractions.
Variants§
Success = 83
Category S
: Successful completion.
Warning = 87
Category W
: Successful completion with a warning.
NoData = 78
Category N
: No data / empty result.
Exception = 88
Category X
: Exceptional condition.
Trait Implementations§
impl Copy for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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