#[non_exhaustive]pub enum NativeStatusCode {
WindowsHResult(i32),
}Expand description
A platform-specific completion status reported for a transfer.
The numeric value is intended for diagnostics. Interpret it according to
the originating platform, and use TransferStatus for the overall
transfer state.
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.
WindowsHResult(i32)
A Windows HRESULT, stored in its original signed 32-bit representation.
For example, 0x8003001E represents STG_E_READFAULT.
Trait Implementations§
Source§impl Clone for NativeStatusCode
impl Clone for NativeStatusCode
impl Copy for NativeStatusCode
Source§impl Debug for NativeStatusCode
impl Debug for NativeStatusCode
impl Eq for NativeStatusCode
Source§impl PartialEq for NativeStatusCode
impl PartialEq for NativeStatusCode
impl StructuralPartialEq for NativeStatusCode
Auto Trait Implementations§
impl Freeze for NativeStatusCode
impl RefUnwindSafe for NativeStatusCode
impl Send for NativeStatusCode
impl Sync for NativeStatusCode
impl Unpin for NativeStatusCode
impl UnsafeUnpin for NativeStatusCode
impl UnwindSafe for NativeStatusCode
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