pub struct AeronDutyCycleTracker { /* private fields */ }
Implementations§
source§impl AeronDutyCycleTracker
impl AeronDutyCycleTracker
pub fn new<AeronDutyCycleTrackerMeasureAndUpdateFuncHandlerImpl: AeronDutyCycleTrackerMeasureAndUpdateFuncCallback>( update: aeron_duty_cycle_tracker_update_func_t, measure_and_update: Option<&Handler<AeronDutyCycleTrackerMeasureAndUpdateFuncHandlerImpl>>, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn update(&self) -> aeron_duty_cycle_tracker_update_func_t
pub fn measure_and_update( &self, ) -> aeron_duty_cycle_tracker_measure_and_update_func_t
pub fn state(&self) -> *mut c_void
pub fn get_inner(&self) -> *mut aeron_duty_cycle_tracker_t
Trait Implementations§
source§impl Clone for AeronDutyCycleTracker
impl Clone for AeronDutyCycleTracker
source§fn clone(&self) -> AeronDutyCycleTracker
fn clone(&self) -> AeronDutyCycleTracker
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 AeronDutyCycleTracker
impl Debug for AeronDutyCycleTracker
source§impl Default for AeronDutyCycleTracker
impl Default for AeronDutyCycleTracker
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronDutyCycleTracker
impl Deref for AeronDutyCycleTracker
source§impl From<&AeronDutyCycleTracker> for *mut aeron_duty_cycle_tracker_t
impl From<&AeronDutyCycleTracker> for *mut aeron_duty_cycle_tracker_t
source§fn from(value: &AeronDutyCycleTracker) -> Self
fn from(value: &AeronDutyCycleTracker) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_duty_cycle_tracker_stct> for AeronDutyCycleTracker
impl From<*const aeron_duty_cycle_tracker_stct> for AeronDutyCycleTracker
source§fn from(value: *const aeron_duty_cycle_tracker_t) -> Self
fn from(value: *const aeron_duty_cycle_tracker_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_duty_cycle_tracker_stct> for AeronDutyCycleTracker
impl From<*mut aeron_duty_cycle_tracker_stct> for AeronDutyCycleTracker
source§fn from(value: *mut aeron_duty_cycle_tracker_t) -> Self
fn from(value: *mut aeron_duty_cycle_tracker_t) -> Self
Converts to this type from the input type.
source§impl From<AeronDutyCycleTracker> for *mut aeron_duty_cycle_tracker_t
impl From<AeronDutyCycleTracker> for *mut aeron_duty_cycle_tracker_t
source§fn from(value: AeronDutyCycleTracker) -> Self
fn from(value: AeronDutyCycleTracker) -> Self
Converts to this type from the input type.
source§impl From<AeronDutyCycleTracker> for aeron_duty_cycle_tracker_t
impl From<AeronDutyCycleTracker> for aeron_duty_cycle_tracker_t
source§fn from(value: AeronDutyCycleTracker) -> Self
fn from(value: AeronDutyCycleTracker) -> Self
Converts to this type from the input type.
source§impl From<aeron_duty_cycle_tracker_stct> for AeronDutyCycleTracker
impl From<aeron_duty_cycle_tracker_stct> for AeronDutyCycleTracker
source§fn from(value: aeron_duty_cycle_tracker_t) -> Self
fn from(value: aeron_duty_cycle_tracker_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronDutyCycleTracker
impl !RefUnwindSafe for AeronDutyCycleTracker
impl !Send for AeronDutyCycleTracker
impl !Sync for AeronDutyCycleTracker
impl Unpin for AeronDutyCycleTracker
impl !UnwindSafe for AeronDutyCycleTracker
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
)