#[repr(C)]pub struct tcp_connection_info_interface {
pub remote_port: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void) -> uint16>,
pub remote_ip: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void) -> bytes_t>,
}
Fields§
§remote_port: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void) -> uint16>
§remote_ip: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void) -> bytes_t>
Trait Implementations§
source§impl Clone for tcp_connection_info_interface
impl Clone for tcp_connection_info_interface
source§fn clone(&self) -> tcp_connection_info_interface
fn clone(&self) -> tcp_connection_info_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for tcp_connection_info_interface
impl Default for tcp_connection_info_interface
source§fn default() -> tcp_connection_info_interface
fn default() -> tcp_connection_info_interface
Returns the “default value” for a type. Read more
source§impl Hash for tcp_connection_info_interface
impl Hash for tcp_connection_info_interface
source§impl Ord for tcp_connection_info_interface
impl Ord for tcp_connection_info_interface
source§fn cmp(&self, other: &tcp_connection_info_interface) -> Ordering
fn cmp(&self, other: &tcp_connection_info_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for tcp_connection_info_interface
impl PartialEq for tcp_connection_info_interface
source§fn eq(&self, other: &tcp_connection_info_interface) -> bool
fn eq(&self, other: &tcp_connection_info_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for tcp_connection_info_interface
impl PartialOrd for tcp_connection_info_interface
impl Copy for tcp_connection_info_interface
impl Eq for tcp_connection_info_interface
impl StructuralPartialEq for tcp_connection_info_interface
Auto Trait Implementations§
impl Freeze for tcp_connection_info_interface
impl RefUnwindSafe for tcp_connection_info_interface
impl Send for tcp_connection_info_interface
impl Sync for tcp_connection_info_interface
impl Unpin for tcp_connection_info_interface
impl UnwindSafe for tcp_connection_info_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)