Enum rhook::Hook [−][src]
libc hooks enum
Variants (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.
Open(&'static str)
fn open(path: *const c_char, oflags: c_int) -> Option<c_int>,
OpenDir(&'static str)
fn opendir(dirname: *const c_char) -> *mut DIR
Recv(&'static str)
fn recv( socket: c_int, buf: *mut c_void, len: size_t, flags: c_int,) -> ssize_t
Read(&'static str)
fn read( fd: c_int, buf: *mut c_void, count: size_t) -> ssize_t
Trait Implementations
impl Eq for Hook
[src]
impl Hash for Hook
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Hook> for Hook
[src]
impl StructuralEq for Hook
[src]
impl StructuralPartialEq for Hook
[src]
Auto Trait Implementations
impl RefUnwindSafe for Hook
impl Send for Hook
impl Sync for Hook
impl Unpin for Hook
impl UnwindSafe for Hook
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,