pub enum SyscallMode {
Direct,
Indirect,
Native,
}Expand description
syscall invocation mode
Variants§
Direct
inline syscall instruction (mov eax, ssn; syscall)
Indirect
jump to syscall instruction in ntdll
Native
use normal API call (fallback)
Trait Implementations§
Source§impl Clone for SyscallMode
impl Clone for SyscallMode
Source§fn clone(&self) -> SyscallMode
fn clone(&self) -> SyscallMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyscallMode
Source§impl Debug for SyscallMode
impl Debug for SyscallMode
Source§impl Default for SyscallMode
impl Default for SyscallMode
impl Eq for SyscallMode
Source§impl PartialEq for SyscallMode
impl PartialEq for SyscallMode
Source§fn eq(&self, other: &SyscallMode) -> bool
fn eq(&self, other: &SyscallMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyscallMode
Auto Trait Implementations§
impl Freeze for SyscallMode
impl RefUnwindSafe for SyscallMode
impl Send for SyscallMode
impl Sync for SyscallMode
impl Unpin for SyscallMode
impl UnsafeUnpin for SyscallMode
impl UnwindSafe for SyscallMode
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