pub enum ServerMode {
NoAuthentication,
Authentication,
AuthenticationAndSecure,
}
Expand description
Used to set the mode that a gameserver will run in
Variants§
NoAuthentication
Don’t authenticate user logins.
The server will not appear on the server list
Authentication
Authenticate users
The server will appear on the server list and VAC will not be run on clients.
AuthenticationAndSecure
Authenticate users and use anti-cheat.
The server will appear on the server list and VAC will be run on clients.
Trait Implementations§
Source§impl Clone for ServerMode
impl Clone for ServerMode
Source§fn clone(&self) -> ServerMode
fn clone(&self) -> ServerMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ServerMode
impl Debug for ServerMode
Source§impl PartialEq for ServerMode
impl PartialEq for ServerMode
impl Copy for ServerMode
impl Eq for ServerMode
impl StructuralPartialEq for ServerMode
Auto Trait Implementations§
impl Freeze for ServerMode
impl RefUnwindSafe for ServerMode
impl Send for ServerMode
impl Sync for ServerMode
impl Unpin for ServerMode
impl UnwindSafe for ServerMode
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