#[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§
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
source§impl PartialEq for mysql_enum_shutdown_level
impl PartialEq for mysql_enum_shutdown_level
source§fn eq(&self, other: &mysql_enum_shutdown_level) -> bool
fn eq(&self, other: &mysql_enum_shutdown_level) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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