pub struct SRVHook { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Hook for SRVHook
impl Hook for SRVHook
fn connect( &self, socket: c_int, address: *mut sockaddr, len: socklen_t, ) -> c_int
fn sendto( &self, socket: c_int, msg: *const c_char, msglen: size_t, flags: c_int, dest_addr: *mut sockaddr, ) -> ssize_t
fn getaddrinfo( &self, node: *const c_char, service: *const c_char, hints: *const addrinfo, res: *mut *const addrinfo, ) -> c_int
Auto Trait Implementations§
impl !Freeze for SRVHook
impl RefUnwindSafe for SRVHook
impl Send for SRVHook
impl Sync for SRVHook
impl Unpin for SRVHook
impl UnwindSafe for SRVHook
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