pub struct AeronFlowControlStrategy { /* private fields */ }
Implementations§
source§impl AeronFlowControlStrategy
impl AeronFlowControlStrategy
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn on_status_message(&self) -> aeron_flow_control_strategy_on_sm_func_t
pub fn on_idle(&self) -> aeron_flow_control_strategy_on_idle_func_t
pub fn on_setup(&self) -> aeron_flow_control_strategy_on_setup_func_t
pub fn on_error(&self) -> aeron_flow_control_strategy_on_error_func_t
pub fn fini(&self) -> aeron_flow_control_strategy_fini_func_t
pub fn has_required_receivers( &self, ) -> aeron_flow_control_strategy_has_required_receivers_func_t
pub fn on_trigger_send_setup( &self, ) -> aeron_flow_control_strategy_on_trigger_send_setup_func_t
pub fn max_retransmission_length( &self, ) -> aeron_flow_control_strategy_max_retransmission_length_func_t
pub fn state(&self) -> *mut c_void
sourcepub fn supplier_by_name(
name: &str,
) -> aeron_flow_control_strategy_supplier_func_t
pub fn supplier_by_name( name: &str, ) -> aeron_flow_control_strategy_supplier_func_t
Return a flow control strategy supplier function pointer associated with the given name. This only will find strategies built into the driver and will not try to dynamically load nor find any in the current executable.
§Parameters
name
of the strategy
§Return
function pointer to supplier associated with the name
pub fn has_required_receivers_default(&self) -> bool
pub fn supplier_load( strategy_name: &str, ) -> aeron_flow_control_strategy_supplier_func_t
pub fn aeron_tagged_flow_control_strategy_to_string( &self, buffer: *mut c_char, buffer_len: usize, ) -> Result<i32, AeronCError>
pub fn get_inner(&self) -> *mut aeron_flow_control_strategy_t
Trait Implementations§
source§impl Clone for AeronFlowControlStrategy
impl Clone for AeronFlowControlStrategy
source§fn clone(&self) -> AeronFlowControlStrategy
fn clone(&self) -> AeronFlowControlStrategy
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 AeronFlowControlStrategy
impl Debug for AeronFlowControlStrategy
source§impl Deref for AeronFlowControlStrategy
impl Deref for AeronFlowControlStrategy
source§impl From<&AeronFlowControlStrategy> for *mut aeron_flow_control_strategy_t
impl From<&AeronFlowControlStrategy> for *mut aeron_flow_control_strategy_t
source§fn from(value: &AeronFlowControlStrategy) -> Self
fn from(value: &AeronFlowControlStrategy) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_flow_control_strategy_stct> for AeronFlowControlStrategy
impl From<*const aeron_flow_control_strategy_stct> for AeronFlowControlStrategy
source§fn from(value: *const aeron_flow_control_strategy_t) -> Self
fn from(value: *const aeron_flow_control_strategy_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_flow_control_strategy_stct> for AeronFlowControlStrategy
impl From<*mut aeron_flow_control_strategy_stct> for AeronFlowControlStrategy
source§fn from(value: *mut aeron_flow_control_strategy_t) -> Self
fn from(value: *mut aeron_flow_control_strategy_t) -> Self
Converts to this type from the input type.
source§impl From<AeronFlowControlStrategy> for *mut aeron_flow_control_strategy_t
impl From<AeronFlowControlStrategy> for *mut aeron_flow_control_strategy_t
source§fn from(value: AeronFlowControlStrategy) -> Self
fn from(value: AeronFlowControlStrategy) -> Self
Converts to this type from the input type.
source§impl From<AeronFlowControlStrategy> for aeron_flow_control_strategy_t
impl From<AeronFlowControlStrategy> for aeron_flow_control_strategy_t
source§fn from(value: AeronFlowControlStrategy) -> Self
fn from(value: AeronFlowControlStrategy) -> Self
Converts to this type from the input type.
source§impl From<aeron_flow_control_strategy_stct> for AeronFlowControlStrategy
impl From<aeron_flow_control_strategy_stct> for AeronFlowControlStrategy
source§fn from(value: aeron_flow_control_strategy_t) -> Self
fn from(value: aeron_flow_control_strategy_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronFlowControlStrategy
impl !RefUnwindSafe for AeronFlowControlStrategy
impl !Send for AeronFlowControlStrategy
impl !Sync for AeronFlowControlStrategy
impl Unpin for AeronFlowControlStrategy
impl !UnwindSafe for AeronFlowControlStrategy
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
)