#[repr(u8)]pub enum NtSeverity {
Success = 0,
Informational = 1,
Warning = 2,
Error = 3,
}Expand description
How bad an NTSTATUS is, from its top two bits.
Variants§
Success = 0
STATUS_SEVERITY_SUCCESS: the operation succeeded.
Informational = 1
STATUS_SEVERITY_INFORMATIONAL: it succeeded, and has something to say.
Warning = 2
STATUS_SEVERITY_WARNING: it did not wholly succeed. A failure to NtStatus::is_success.
Error = 3
STATUS_SEVERITY_ERROR: it failed.
Trait Implementations§
Source§impl Clone for NtSeverity
impl Clone for NtSeverity
impl Copy for NtSeverity
Source§impl Debug for NtSeverity
impl Debug for NtSeverity
impl Eq for NtSeverity
Source§impl Hash for NtSeverity
impl Hash for NtSeverity
Source§impl PartialEq for NtSeverity
impl PartialEq for NtSeverity
impl StructuralPartialEq for NtSeverity
Auto Trait Implementations§
impl Freeze for NtSeverity
impl RefUnwindSafe for NtSeverity
impl Send for NtSeverity
impl Sync for NtSeverity
impl Unpin for NtSeverity
impl UnsafeUnpin for NtSeverity
impl UnwindSafe for NtSeverity
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