Struct rusteron_media_driver::AeronIdleStrategy
source · pub struct AeronIdleStrategy { /* private fields */ }
Implementations§
source§impl AeronIdleStrategy
impl AeronIdleStrategy
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn idle(&self) -> aeron_idle_strategy_func_t
pub fn init(&self) -> aeron_idle_strategy_init_func_t
pub fn sleeping_idle(state: *mut c_void, work_count: c_int)
pub fn yielding_idle(state: *mut c_void, work_count: c_int)
pub fn busy_spinning_idle(state: *mut c_void, work_count: c_int)
pub fn noop_idle(state: *mut c_void, work_count: c_int)
pub fn backoff_idle(state: *mut c_void, work_count: c_int)
pub fn get_inner(&self) -> *mut aeron_idle_strategy_t
Trait Implementations§
source§impl Clone for AeronIdleStrategy
impl Clone for AeronIdleStrategy
source§fn clone(&self) -> AeronIdleStrategy
fn clone(&self) -> AeronIdleStrategy
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 AeronIdleStrategy
impl Debug for AeronIdleStrategy
source§impl Deref for AeronIdleStrategy
impl Deref for AeronIdleStrategy
source§impl From<&AeronIdleStrategy> for *mut aeron_idle_strategy_t
impl From<&AeronIdleStrategy> for *mut aeron_idle_strategy_t
source§fn from(value: &AeronIdleStrategy) -> Self
fn from(value: &AeronIdleStrategy) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_idle_strategy_stct> for AeronIdleStrategy
impl From<*const aeron_idle_strategy_stct> for AeronIdleStrategy
source§fn from(value: *const aeron_idle_strategy_t) -> Self
fn from(value: *const aeron_idle_strategy_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_idle_strategy_stct> for AeronIdleStrategy
impl From<*mut aeron_idle_strategy_stct> for AeronIdleStrategy
source§fn from(value: *mut aeron_idle_strategy_t) -> Self
fn from(value: *mut aeron_idle_strategy_t) -> Self
Converts to this type from the input type.
source§impl From<AeronIdleStrategy> for *mut aeron_idle_strategy_t
impl From<AeronIdleStrategy> for *mut aeron_idle_strategy_t
source§fn from(value: AeronIdleStrategy) -> Self
fn from(value: AeronIdleStrategy) -> Self
Converts to this type from the input type.
source§impl From<AeronIdleStrategy> for aeron_idle_strategy_t
impl From<AeronIdleStrategy> for aeron_idle_strategy_t
source§fn from(value: AeronIdleStrategy) -> Self
fn from(value: AeronIdleStrategy) -> Self
Converts to this type from the input type.
source§impl From<aeron_idle_strategy_stct> for AeronIdleStrategy
impl From<aeron_idle_strategy_stct> for AeronIdleStrategy
source§fn from(value: aeron_idle_strategy_t) -> Self
fn from(value: aeron_idle_strategy_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronIdleStrategy
impl !RefUnwindSafe for AeronIdleStrategy
impl !Send for AeronIdleStrategy
impl !Sync for AeronIdleStrategy
impl Unpin for AeronIdleStrategy
impl !UnwindSafe for AeronIdleStrategy
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
)