pub enum Ntdll {
Success(i32),
Information(i32),
Warning(i32),
Error(i32),
Other(i32),
}
Expand description
Abstracts a NTStatus return type.
Variants§
Success(i32)
Maps, if Ntdll considers the NTStatus a Success
Information(i32)
Maps, if Ntdll considers the NTStatus a Information
Warning(i32)
Maps, if Ntdll considers the NTStatus a Warning
Error(i32)
Maps, if Ntdll considers the NTStatus an Error
Other(i32)
Maps, if nothing else maps. Ideally this should go unused
Implementations§
Source§impl Ntdll
impl Ntdll
Sourcepub fn is_warning(&self) -> bool
pub fn is_warning(&self) -> bool
Returns true, if the enum contains Warning discriminant
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns true, if the enum contains Success discriminant
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ntdll
impl RefUnwindSafe for Ntdll
impl Send for Ntdll
impl Sync for Ntdll
impl Unpin for Ntdll
impl UnwindSafe for Ntdll
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