#[repr(C)]pub struct cpu_instrumentation_stream_interface {
pub add_stream: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, bits: cpu_stream_bits_t, data: *mut *mut cpu_stream_data_t, scope: cpu_access_scope_t) -> *mut cpu_stream_handle_t>,
pub remove_stream: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, handle: *mut cpu_stream_handle_t)>,
}
Fields§
§add_stream: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, connection: *mut conf_object_t, bits: cpu_stream_bits_t, data: *mut *mut cpu_stream_data_t, scope: cpu_access_scope_t) -> *mut cpu_stream_handle_t>
§remove_stream: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, handle: *mut cpu_stream_handle_t)>
Trait Implementations§
source§impl Clone for cpu_instrumentation_stream_interface
impl Clone for cpu_instrumentation_stream_interface
source§fn clone(&self) -> cpu_instrumentation_stream_interface
fn clone(&self) -> cpu_instrumentation_stream_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 cpu_instrumentation_stream_interface
impl Default for cpu_instrumentation_stream_interface
source§fn default() -> cpu_instrumentation_stream_interface
fn default() -> cpu_instrumentation_stream_interface
Returns the “default value” for a type. Read more
source§impl Ord for cpu_instrumentation_stream_interface
impl Ord for cpu_instrumentation_stream_interface
source§fn cmp(&self, other: &cpu_instrumentation_stream_interface) -> Ordering
fn cmp(&self, other: &cpu_instrumentation_stream_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 cpu_instrumentation_stream_interface
impl PartialEq for cpu_instrumentation_stream_interface
source§fn eq(&self, other: &cpu_instrumentation_stream_interface) -> bool
fn eq(&self, other: &cpu_instrumentation_stream_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for cpu_instrumentation_stream_interface
impl PartialOrd for cpu_instrumentation_stream_interface
impl Copy for cpu_instrumentation_stream_interface
impl Eq for cpu_instrumentation_stream_interface
impl StructuralPartialEq for cpu_instrumentation_stream_interface
Auto Trait Implementations§
impl Freeze for cpu_instrumentation_stream_interface
impl RefUnwindSafe for cpu_instrumentation_stream_interface
impl Send for cpu_instrumentation_stream_interface
impl Sync for cpu_instrumentation_stream_interface
impl Unpin for cpu_instrumentation_stream_interface
impl UnwindSafe for cpu_instrumentation_stream_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
)