#[non_exhaustive]#[repr(i32)]pub enum ESNetSocketConnectionType {
k_ESNetSocketConnectionTypeNotConnected = 0,
k_ESNetSocketConnectionTypeUDP = 1,
k_ESNetSocketConnectionTypeUDPRelay = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
k_ESNetSocketConnectionTypeNotConnected = 0
k_ESNetSocketConnectionTypeUDP = 1
k_ESNetSocketConnectionTypeUDPRelay = 2
Trait Implementations§
source§impl Clone for ESNetSocketConnectionType
impl Clone for ESNetSocketConnectionType
source§fn clone(&self) -> ESNetSocketConnectionType
fn clone(&self) -> ESNetSocketConnectionType
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 ESNetSocketConnectionType
impl Debug for ESNetSocketConnectionType
source§impl Hash for ESNetSocketConnectionType
impl Hash for ESNetSocketConnectionType
source§impl PartialEq for ESNetSocketConnectionType
impl PartialEq for ESNetSocketConnectionType
source§fn eq(&self, other: &ESNetSocketConnectionType) -> bool
fn eq(&self, other: &ESNetSocketConnectionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ESNetSocketConnectionType
impl Eq for ESNetSocketConnectionType
impl StructuralPartialEq for ESNetSocketConnectionType
Auto Trait Implementations§
impl RefUnwindSafe for ESNetSocketConnectionType
impl Send for ESNetSocketConnectionType
impl Sync for ESNetSocketConnectionType
impl Unpin for ESNetSocketConnectionType
impl UnwindSafe for ESNetSocketConnectionType
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