Skip to main content

aeron_idle_strategy_t

Type Alias aeron_idle_strategy_t 

Source
pub type aeron_idle_strategy_t = aeron_idle_strategy_stct;

Aliased Type§

#[repr(C)]
pub struct aeron_idle_strategy_t { pub idle: Option<unsafe extern "C" fn(*mut c_void, i32)>, pub init: Option<unsafe extern "C" fn(*mut *mut c_void, *const i8, *const i8) -> i32>, }

Fields§

§idle: Option<unsafe extern "C" fn(*mut c_void, i32)>§init: Option<unsafe extern "C" fn(*mut *mut c_void, *const i8, *const i8) -> i32>

Trait Implementations§

Source§

impl<S: ResourceStorage<aeron_idle_strategy_t>> From<AeronIdleStrategy<S>> for aeron_idle_strategy_t

Source§

fn from(value: AeronIdleStrategy<S>) -> Self

Converts to this type from the input type.
Source§

impl NativeResource for aeron_idle_strategy_t

Source§

type Policy = LocalResource

Source§

type Pointer = ReloadPointer

How an owning handle reads its native pointer. Cached pointers are only valid when native calls cannot release or replace the allocation.