#[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 = Self(0i32)
pub const ResourceLimitsExceeded: Self = Self(1i32)
pub const ProtocolError: Self = Self(2i32)
pub const NotAuthorized: Self = Self(3i32)
pub const UserNotPresent: Self = Self(4i32)
pub const ServiceTerminated: Self = Self(5i32)
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more