#[non_exhaustive]#[repr(u32)]pub enum mysql_enum_shutdown_level {
SHUTDOWN_DEFAULT = 0,
SHUTDOWN_WAIT_CONNECTIONS = 1,
SHUTDOWN_WAIT_TRANSACTIONS = 2,
SHUTDOWN_WAIT_UPDATES = 8,
SHUTDOWN_WAIT_ALL_BUFFERS = 16,
SHUTDOWN_WAIT_CRITICAL_BUFFERS = 17,
KILL_QUERY = 254,
KILL_CONNECTION = 255,
}
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.
SHUTDOWN_DEFAULT = 0
SHUTDOWN_WAIT_CONNECTIONS = 1
SHUTDOWN_WAIT_TRANSACTIONS = 2
SHUTDOWN_WAIT_UPDATES = 8
SHUTDOWN_WAIT_ALL_BUFFERS = 16
SHUTDOWN_WAIT_CRITICAL_BUFFERS = 17
KILL_QUERY = 254
KILL_CONNECTION = 255
Trait Implementations§
Source§impl Clone for mysql_enum_shutdown_level
impl Clone for mysql_enum_shutdown_level
Source§fn clone(&self) -> mysql_enum_shutdown_level
fn clone(&self) -> mysql_enum_shutdown_level
Returns a copy 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 mysql_enum_shutdown_level
impl Debug for mysql_enum_shutdown_level
Source§impl Hash for mysql_enum_shutdown_level
impl Hash for mysql_enum_shutdown_level
impl Copy for mysql_enum_shutdown_level
impl Eq for mysql_enum_shutdown_level
impl StructuralPartialEq for mysql_enum_shutdown_level
Auto Trait Implementations§
impl Freeze for mysql_enum_shutdown_level
impl RefUnwindSafe for mysql_enum_shutdown_level
impl Send for mysql_enum_shutdown_level
impl Sync for mysql_enum_shutdown_level
impl Unpin for mysql_enum_shutdown_level
impl UnwindSafe for mysql_enum_shutdown_level
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