#[repr(C)]pub struct aeron_agent_runner_stct {
pub role_name: *const c_char,
pub agent_state: *mut c_void,
pub idle_strategy_state: *mut c_void,
pub on_start_state: *mut c_void,
pub on_start: aeron_agent_on_start_func_t,
pub do_work: aeron_agent_do_work_func_t,
pub on_close: aeron_agent_on_close_func_t,
pub idle_strategy: aeron_idle_strategy_func_t,
pub thread: aeron_thread_t,
pub running: bool,
pub state: u8,
}
Fields§
§role_name: *const c_char
§agent_state: *mut c_void
§idle_strategy_state: *mut c_void
§on_start_state: *mut c_void
§on_start: aeron_agent_on_start_func_t
§do_work: aeron_agent_do_work_func_t
§on_close: aeron_agent_on_close_func_t
§idle_strategy: aeron_idle_strategy_func_t
§thread: aeron_thread_t
§running: bool
§state: u8
Trait Implementations§
source§impl Clone for aeron_agent_runner_stct
impl Clone for aeron_agent_runner_stct
source§fn clone(&self) -> aeron_agent_runner_stct
fn clone(&self) -> aeron_agent_runner_stct
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 aeron_agent_runner_stct
impl Debug for aeron_agent_runner_stct
source§impl From<aeron_agent_runner_stct> for AeronAgentRunner
impl From<aeron_agent_runner_stct> for AeronAgentRunner
source§fn from(value: aeron_agent_runner_t) -> Self
fn from(value: aeron_agent_runner_t) -> Self
Converts to this type from the input type.
impl Copy for aeron_agent_runner_stct
Auto Trait Implementations§
impl Freeze for aeron_agent_runner_stct
impl RefUnwindSafe for aeron_agent_runner_stct
impl !Send for aeron_agent_runner_stct
impl !Sync for aeron_agent_runner_stct
impl Unpin for aeron_agent_runner_stct
impl UnwindSafe for aeron_agent_runner_stct
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
)