#[repr(u32)]pub enum ConnectionMethods {
LoginPublic = 0,
LoginUser = 1,
LoginGroup = 2,
LoginApplication = 4,
LoginUserApplication = 5,
LoginGroupApplication = 6,
Unknown(u32),
}Expand description
Session login methods.
Variants§
LoginPublic = 0
No login data is provided.
LoginUser = 1
Login data about the user running the Client Application process is provided.
LoginGroup = 2
Login data about the group running the Client Application process is provided.
LoginApplication = 4
Login data about the running Client Application itself is provided.
LoginUserApplication = 5
Login data about the user and the running Client Application itself is provided.
LoginGroupApplication = 6
Login data about the group and the running Client Application itself is provided.
Unknown(u32)
An unnamed or implementation-defined login type.
Trait Implementations§
Source§impl Clone for ConnectionMethods
impl Clone for ConnectionMethods
Source§fn clone(&self) -> ConnectionMethods
fn clone(&self) -> ConnectionMethods
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 ConnectionMethods
Source§impl Debug for ConnectionMethods
impl Debug for ConnectionMethods
Source§impl From<ConnectionMethods> for u32
impl From<ConnectionMethods> for u32
Source§fn from(enum_value: ConnectionMethods) -> Self
fn from(enum_value: ConnectionMethods) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ConnectionMethods
impl From<u32> for ConnectionMethods
Source§impl FromPrimitive for ConnectionMethods
impl FromPrimitive for ConnectionMethods
Source§impl PartialEq for ConnectionMethods
impl PartialEq for ConnectionMethods
impl StructuralPartialEq for ConnectionMethods
Auto Trait Implementations§
impl Freeze for ConnectionMethods
impl RefUnwindSafe for ConnectionMethods
impl Send for ConnectionMethods
impl Sync for ConnectionMethods
impl Unpin for ConnectionMethods
impl UnsafeUnpin for ConnectionMethods
impl UnwindSafe for ConnectionMethods
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