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