#[repr(transparent)]pub struct DevicePortalConnectionClosedReason(pub i32);
Expand description
Required features: ‘System_Diagnostics_DevicePortal’
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
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more