#[repr(C)]pub struct simple_dispatcher_interface {
pub subscribe: Option<unsafe extern "C" fn(bus: *mut conf_object_t, listener: *mut conf_object_t, listener_port: *const c_char)>,
pub unsubscribe: Option<unsafe extern "C" fn(bus: *mut conf_object_t, listener: *mut conf_object_t, listener_port: *const c_char)>,
}
Fields§
§subscribe: Option<unsafe extern "C" fn(bus: *mut conf_object_t, listener: *mut conf_object_t, listener_port: *const c_char)>
§unsubscribe: Option<unsafe extern "C" fn(bus: *mut conf_object_t, listener: *mut conf_object_t, listener_port: *const c_char)>
Trait Implementations§
source§impl Clone for simple_dispatcher_interface
impl Clone for simple_dispatcher_interface
source§fn clone(&self) -> simple_dispatcher_interface
fn clone(&self) -> simple_dispatcher_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 Debug for simple_dispatcher_interface
impl Debug for simple_dispatcher_interface
source§impl Default for simple_dispatcher_interface
impl Default for simple_dispatcher_interface
source§fn default() -> simple_dispatcher_interface
fn default() -> simple_dispatcher_interface
Returns the “default value” for a type. Read more
source§impl Hash for simple_dispatcher_interface
impl Hash for simple_dispatcher_interface
source§impl Ord for simple_dispatcher_interface
impl Ord for simple_dispatcher_interface
source§fn cmp(&self, other: &simple_dispatcher_interface) -> Ordering
fn cmp(&self, other: &simple_dispatcher_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 PartialOrd for simple_dispatcher_interface
impl PartialOrd for simple_dispatcher_interface
impl Copy for simple_dispatcher_interface
impl Eq for simple_dispatcher_interface
impl StructuralPartialEq for simple_dispatcher_interface
Auto Trait Implementations§
impl Freeze for simple_dispatcher_interface
impl RefUnwindSafe for simple_dispatcher_interface
impl Send for simple_dispatcher_interface
impl Sync for simple_dispatcher_interface
impl Unpin for simple_dispatcher_interface
impl UnwindSafe for simple_dispatcher_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
)