#[repr(transparent)]pub struct DevicePortalConnectionClosedReason(pub i32);
Tuple Fields§
§0: i32
Implementations§
§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 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 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
This method 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 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