#[non_exhaustive]pub enum NativeStatus {
HResult {
call: &'static str,
bits: u32,
},
OsStatus {
call: &'static str,
value: i32,
},
}Expand description
Native status; call labels are available only through explicit structured access.
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.
Trait Implementations§
Source§impl Clone for NativeStatus
impl Clone for NativeStatus
impl Copy for NativeStatus
Source§impl Debug for NativeStatus
impl Debug for NativeStatus
impl Eq for NativeStatus
Source§impl PartialEq for NativeStatus
impl PartialEq for NativeStatus
impl StructuralPartialEq for NativeStatus
Auto Trait Implementations§
impl Freeze for NativeStatus
impl RefUnwindSafe for NativeStatus
impl Send for NativeStatus
impl Sync for NativeStatus
impl Unpin for NativeStatus
impl UnsafeUnpin for NativeStatus
impl UnwindSafe for NativeStatus
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