#[repr(u8)]pub enum SessionQueryMode {
Default = 0,
Steal = 1,
Share = 2,
}Variants§
Trait Implementations§
Source§impl Clone for SessionQueryMode
impl Clone for SessionQueryMode
Source§fn clone(&self) -> SessionQueryMode
fn clone(&self) -> SessionQueryMode
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 SessionQueryMode
Source§impl Debug for SessionQueryMode
impl Debug for SessionQueryMode
impl Eq for SessionQueryMode
Source§impl From<SessionQueryMode> for u8
impl From<SessionQueryMode> for u8
Source§fn from(enum_value: SessionQueryMode) -> Self
fn from(enum_value: SessionQueryMode) -> Self
Converts to this type from the input type.
Source§impl From<u8> for SessionQueryMode
impl From<u8> for SessionQueryMode
Source§impl FromPrimitive for SessionQueryMode
impl FromPrimitive for SessionQueryMode
Source§impl PartialEq for SessionQueryMode
impl PartialEq for SessionQueryMode
Source§fn eq(&self, other: &SessionQueryMode) -> bool
fn eq(&self, other: &SessionQueryMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionQueryMode
Auto Trait Implementations§
impl Freeze for SessionQueryMode
impl RefUnwindSafe for SessionQueryMode
impl Send for SessionQueryMode
impl Sync for SessionQueryMode
impl Unpin for SessionQueryMode
impl UnsafeUnpin for SessionQueryMode
impl UnwindSafe for SessionQueryMode
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