#[repr(C)]pub struct external_connection_events_interface {
pub on_accept: Option<unsafe extern "C" fn(obj: *mut conf_object_t, server: *mut conf_object_t, id: uint64)>,
pub on_input: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void)>,
pub can_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void)>,
}
Fields§
§on_accept: Option<unsafe extern "C" fn(obj: *mut conf_object_t, server: *mut conf_object_t, id: uint64)>
§on_input: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void)>
§can_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cookie: *mut lang_void)>
Trait Implementations§
source§impl Clone for external_connection_events_interface
impl Clone for external_connection_events_interface
source§fn clone(&self) -> external_connection_events_interface
fn clone(&self) -> external_connection_events_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 external_connection_events_interface
impl Default for external_connection_events_interface
source§fn default() -> external_connection_events_interface
fn default() -> external_connection_events_interface
Returns the “default value” for a type. Read more
source§impl Ord for external_connection_events_interface
impl Ord for external_connection_events_interface
source§fn cmp(&self, other: &external_connection_events_interface) -> Ordering
fn cmp(&self, other: &external_connection_events_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 external_connection_events_interface
impl PartialEq for external_connection_events_interface
source§fn eq(&self, other: &external_connection_events_interface) -> bool
fn eq(&self, other: &external_connection_events_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for external_connection_events_interface
impl PartialOrd for external_connection_events_interface
impl Copy for external_connection_events_interface
impl Eq for external_connection_events_interface
impl StructuralPartialEq for external_connection_events_interface
Auto Trait Implementations§
impl Freeze for external_connection_events_interface
impl RefUnwindSafe for external_connection_events_interface
impl Send for external_connection_events_interface
impl Sync for external_connection_events_interface
impl Unpin for external_connection_events_interface
impl UnwindSafe for external_connection_events_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
)