#[repr(C)]pub struct internal_cached_instruction_interface {
pub add_counters: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ci_handle: *mut cached_instruction_handle_t, i_counter: *mut uint64, t_counter: *mut uint64, use_atomic_increment: bool)>,
pub get_service_routine_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, iq_handle: *mut instruction_handle_t) -> *const c_char>,
}
Fields§
§add_counters: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ci_handle: *mut cached_instruction_handle_t, i_counter: *mut uint64, t_counter: *mut uint64, use_atomic_increment: bool)>
§get_service_routine_name: Option<unsafe extern "C" fn(obj: *mut conf_object_t, iq_handle: *mut instruction_handle_t) -> *const c_char>
Trait Implementations§
source§impl Clone for internal_cached_instruction_interface
impl Clone for internal_cached_instruction_interface
source§fn clone(&self) -> internal_cached_instruction_interface
fn clone(&self) -> internal_cached_instruction_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 internal_cached_instruction_interface
impl Default for internal_cached_instruction_interface
source§fn default() -> internal_cached_instruction_interface
fn default() -> internal_cached_instruction_interface
Returns the “default value” for a type. Read more
source§impl Ord for internal_cached_instruction_interface
impl Ord for internal_cached_instruction_interface
source§fn cmp(&self, other: &internal_cached_instruction_interface) -> Ordering
fn cmp(&self, other: &internal_cached_instruction_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 internal_cached_instruction_interface
impl PartialEq for internal_cached_instruction_interface
source§fn eq(&self, other: &internal_cached_instruction_interface) -> bool
fn eq(&self, other: &internal_cached_instruction_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for internal_cached_instruction_interface
impl PartialOrd for internal_cached_instruction_interface
impl Copy for internal_cached_instruction_interface
impl Eq for internal_cached_instruction_interface
impl StructuralPartialEq for internal_cached_instruction_interface
Auto Trait Implementations§
impl Freeze for internal_cached_instruction_interface
impl RefUnwindSafe for internal_cached_instruction_interface
impl Send for internal_cached_instruction_interface
impl Sync for internal_cached_instruction_interface
impl Unpin for internal_cached_instruction_interface
impl UnwindSafe for internal_cached_instruction_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
)