Struct DevicePortalConnectionClosedReason
#[repr(transparent)]pub struct DevicePortalConnectionClosedReason(pub i32);Tuple Fields§
§0: i32Implementations§
§impl DevicePortalConnectionClosedReason
impl DevicePortalConnectionClosedReason
pub const Unknown: Self
pub const ResourceLimitsExceeded: Self
pub const ProtocolError: Self
pub const NotAuthorized: Self
pub const UserNotPresent: Self
pub const ServiceTerminated: Self
Trait Implementations§
§impl Clone for DevicePortalConnectionClosedReason
impl Clone for DevicePortalConnectionClosedReason
§fn clone(&self) -> DevicePortalConnectionClosedReason
fn clone(&self) -> DevicePortalConnectionClosedReason
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 more§impl Debug for DevicePortalConnectionClosedReason
impl Debug for DevicePortalConnectionClosedReason
§impl Default for DevicePortalConnectionClosedReason
impl Default for DevicePortalConnectionClosedReason
§fn default() -> DevicePortalConnectionClosedReason
fn default() -> DevicePortalConnectionClosedReason
Returns the “default value” for a type. Read more
§impl PartialEq for DevicePortalConnectionClosedReason
impl PartialEq for DevicePortalConnectionClosedReason
§fn eq(&self, other: &DevicePortalConnectionClosedReason) -> bool
fn eq(&self, other: &DevicePortalConnectionClosedReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DevicePortalConnectionClosedReason
impl Eq for DevicePortalConnectionClosedReason
impl StructuralPartialEq for DevicePortalConnectionClosedReason
Auto Trait Implementations§
impl Freeze for DevicePortalConnectionClosedReason
impl RefUnwindSafe for DevicePortalConnectionClosedReason
impl Send for DevicePortalConnectionClosedReason
impl Sync for DevicePortalConnectionClosedReason
impl Unpin for DevicePortalConnectionClosedReason
impl UnwindSafe for DevicePortalConnectionClosedReason
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