Skip to main content

aeron_agent_runner_t

Type Alias aeron_agent_runner_t 

Source
pub type aeron_agent_runner_t = aeron_agent_runner_stct;

Aliased Type§

#[repr(C)]
pub struct aeron_agent_runner_t { pub role_name: *const i8, pub agent_state: *mut c_void, pub idle_strategy_state: *mut c_void, pub on_start_state: *mut c_void, pub on_start: Option<unsafe extern "C" fn(*mut c_void, *const i8)>, pub do_work: Option<unsafe extern "C" fn(*mut c_void) -> i32>, pub on_close: Option<unsafe extern "C" fn(*mut c_void)>, pub idle_strategy: Option<unsafe extern "C" fn(*mut c_void, i32)>, pub thread: *mut _opaque_pthread_t, pub running: bool, pub state: u8, }

Fields§

§role_name: *const i8§agent_state: *mut c_void§idle_strategy_state: *mut c_void§on_start_state: *mut c_void§on_start: Option<unsafe extern "C" fn(*mut c_void, *const i8)>§do_work: Option<unsafe extern "C" fn(*mut c_void) -> i32>§on_close: Option<unsafe extern "C" fn(*mut c_void)>§idle_strategy: Option<unsafe extern "C" fn(*mut c_void, i32)>§thread: *mut _opaque_pthread_t§running: bool§state: u8

Trait Implementations§

Source§

impl From<AeronAgentRunner> for aeron_agent_runner_t

Source§

fn from(value: AeronAgentRunner) -> Self

Converts to this type from the input type.