#[non_exhaustive]#[repr(u32)]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 duplicate 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
impl Copy for ESNetSocketConnectionType
impl Eq for ESNetSocketConnectionType
impl StructuralPartialEq for ESNetSocketConnectionType
Auto Trait Implementations§
impl Freeze for ESNetSocketConnectionType
impl RefUnwindSafe for ESNetSocketConnectionType
impl Send for ESNetSocketConnectionType
impl Sync for ESNetSocketConnectionType
impl Unpin for ESNetSocketConnectionType
impl UnsafeUnpin 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