Enum inject_lib::error::Ntdll
source · [−]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
sourceimpl 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
sourceimpl Ntdll
impl Ntdll
sourcepub fn get_status(&self) -> &i32
pub fn get_status(&self) -> &i32
Get the contained Variable in the Ntdll enum
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ntdll
impl Send for Ntdll
impl Sync for Ntdll
impl Unpin for Ntdll
impl UnwindSafe for Ntdll
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more