#[repr(i32)]pub enum thr_lock_type {
Show 14 variants
TL_IGNORE = -1,
TL_UNLOCK = 0,
TL_READ_DEFAULT = 1,
TL_READ = 2,
TL_READ_WITH_SHARED_LOCKS = 3,
TL_READ_HIGH_PRIORITY = 4,
TL_READ_NO_INSERT = 5,
TL_WRITE_ALLOW_WRITE = 6,
TL_WRITE_CONCURRENT_DEFAULT = 7,
TL_WRITE_CONCURRENT_INSERT = 8,
TL_WRITE_DEFAULT = 9,
TL_WRITE_LOW_PRIORITY = 10,
TL_WRITE = 11,
TL_WRITE_ONLY = 12,
}Variants§
TL_IGNORE = -1
TL_UNLOCK = 0
TL_READ_DEFAULT = 1
TL_READ = 2
TL_READ_WITH_SHARED_LOCKS = 3
TL_READ_HIGH_PRIORITY = 4
TL_READ_NO_INSERT = 5
TL_WRITE_ALLOW_WRITE = 6
TL_WRITE_CONCURRENT_DEFAULT = 7
TL_WRITE_CONCURRENT_INSERT = 8
TL_WRITE_DEFAULT = 9
TL_WRITE_LOW_PRIORITY = 10
TL_WRITE = 11
TL_WRITE_ONLY = 12
Trait Implementations§
Source§impl Clone for thr_lock_type
impl Clone for thr_lock_type
Source§fn clone(&self) -> thr_lock_type
fn clone(&self) -> thr_lock_type
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for thr_lock_type
Source§impl Debug for thr_lock_type
impl Debug for thr_lock_type
impl Eq for thr_lock_type
Source§impl Hash for thr_lock_type
impl Hash for thr_lock_type
Source§impl PartialEq for thr_lock_type
impl PartialEq for thr_lock_type
Source§fn eq(&self, other: &thr_lock_type) -> bool
fn eq(&self, other: &thr_lock_type) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for thr_lock_type
Auto Trait Implementations§
impl Freeze for thr_lock_type
impl RefUnwindSafe for thr_lock_type
impl Send for thr_lock_type
impl Sync for thr_lock_type
impl Unpin for thr_lock_type
impl UnsafeUnpin for thr_lock_type
impl UnwindSafe for thr_lock_type
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