Enum steamworks_sys::EP2PSessionError
source · #[non_exhaustive]#[repr(i32)]pub enum EP2PSessionError {
k_EP2PSessionErrorNone = 0,
k_EP2PSessionErrorNoRightsToApp = 2,
k_EP2PSessionErrorTimeout = 4,
k_EP2PSessionErrorNotRunningApp_DELETED = 1,
k_EP2PSessionErrorDestinationNotLoggedIn_DELETED = 3,
k_EP2PSessionErrorMax = 5,
}
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_EP2PSessionErrorNone = 0
k_EP2PSessionErrorNoRightsToApp = 2
k_EP2PSessionErrorTimeout = 4
k_EP2PSessionErrorNotRunningApp_DELETED = 1
k_EP2PSessionErrorDestinationNotLoggedIn_DELETED = 3
k_EP2PSessionErrorMax = 5
Trait Implementations§
source§impl Clone for EP2PSessionError
impl Clone for EP2PSessionError
source§fn clone(&self) -> EP2PSessionError
fn clone(&self) -> EP2PSessionError
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 EP2PSessionError
impl Debug for EP2PSessionError
source§impl Hash for EP2PSessionError
impl Hash for EP2PSessionError
source§impl PartialEq for EP2PSessionError
impl PartialEq for EP2PSessionError
source§fn eq(&self, other: &EP2PSessionError) -> bool
fn eq(&self, other: &EP2PSessionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EP2PSessionError
impl Eq for EP2PSessionError
impl StructuralPartialEq for EP2PSessionError
Auto Trait Implementations§
impl RefUnwindSafe for EP2PSessionError
impl Send for EP2PSessionError
impl Sync for EP2PSessionError
impl Unpin for EP2PSessionError
impl UnwindSafe for EP2PSessionError
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