pub struct AeronDriverUriPublicationParams { /* private fields */ }
Implementations§
source§impl AeronDriverUriPublicationParams
impl AeronDriverUriPublicationParams
pub fn new( has_position: bool, is_sparse: bool, signal_eos: bool, spies_simulate_connection: bool, has_mtu_length: bool, mtu_length: usize, has_term_length: bool, term_length: usize, term_offset: usize, initial_term_id: i32, term_id: i32, linger_timeout_ns: u64, untethered_window_limit_timeout_ns: u64, untethered_resting_timeout_ns: u64, has_session_id: bool, session_id: i32, entity_tag: i64, response_correlation_id: i64, has_max_resend: bool, max_resend: u32, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn has_position(&self) -> bool
pub fn is_sparse(&self) -> bool
pub fn signal_eos(&self) -> bool
pub fn spies_simulate_connection(&self) -> bool
pub fn has_mtu_length(&self) -> bool
pub fn mtu_length(&self) -> usize
pub fn has_term_length(&self) -> bool
pub fn term_length(&self) -> usize
pub fn term_offset(&self) -> usize
pub fn initial_term_id(&self) -> i32
pub fn term_id(&self) -> i32
pub fn linger_timeout_ns(&self) -> u64
pub fn untethered_window_limit_timeout_ns(&self) -> u64
pub fn untethered_resting_timeout_ns(&self) -> u64
pub fn has_session_id(&self) -> bool
pub fn session_id(&self) -> i32
pub fn entity_tag(&self) -> i64
pub fn response_correlation_id(&self) -> i64
pub fn has_max_resend(&self) -> bool
pub fn max_resend(&self) -> u32
pub fn aeron_publication_params_validate_mtu_for_sndbuf( &self, endpoint_socket_sndbuf: usize, channel_socket_sndbuf: usize, context_socket_sndbuf: usize, os_default_socket_sndbuf: usize, ) -> Result<i32, AeronCError>
pub fn get_inner(&self) -> *mut aeron_driver_uri_publication_params_t
Trait Implementations§
source§impl Clone for AeronDriverUriPublicationParams
impl Clone for AeronDriverUriPublicationParams
source§fn clone(&self) -> AeronDriverUriPublicationParams
fn clone(&self) -> AeronDriverUriPublicationParams
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 Default for AeronDriverUriPublicationParams
impl Default for AeronDriverUriPublicationParams
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronDriverUriPublicationParams> for *mut aeron_driver_uri_publication_params_t
impl From<&AeronDriverUriPublicationParams> for *mut aeron_driver_uri_publication_params_t
source§fn from(value: &AeronDriverUriPublicationParams) -> Self
fn from(value: &AeronDriverUriPublicationParams) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_driver_uri_publication_params_stct> for AeronDriverUriPublicationParams
impl From<*const aeron_driver_uri_publication_params_stct> for AeronDriverUriPublicationParams
source§fn from(value: *const aeron_driver_uri_publication_params_t) -> Self
fn from(value: *const aeron_driver_uri_publication_params_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_driver_uri_publication_params_stct> for AeronDriverUriPublicationParams
impl From<*mut aeron_driver_uri_publication_params_stct> for AeronDriverUriPublicationParams
source§fn from(value: *mut aeron_driver_uri_publication_params_t) -> Self
fn from(value: *mut aeron_driver_uri_publication_params_t) -> Self
Converts to this type from the input type.
source§impl From<AeronDriverUriPublicationParams> for *mut aeron_driver_uri_publication_params_t
impl From<AeronDriverUriPublicationParams> for *mut aeron_driver_uri_publication_params_t
source§fn from(value: AeronDriverUriPublicationParams) -> Self
fn from(value: AeronDriverUriPublicationParams) -> Self
Converts to this type from the input type.
source§impl From<AeronDriverUriPublicationParams> for aeron_driver_uri_publication_params_t
impl From<AeronDriverUriPublicationParams> for aeron_driver_uri_publication_params_t
source§fn from(value: AeronDriverUriPublicationParams) -> Self
fn from(value: AeronDriverUriPublicationParams) -> Self
Converts to this type from the input type.
source§impl From<aeron_driver_uri_publication_params_stct> for AeronDriverUriPublicationParams
impl From<aeron_driver_uri_publication_params_stct> for AeronDriverUriPublicationParams
source§fn from(value: aeron_driver_uri_publication_params_t) -> Self
fn from(value: aeron_driver_uri_publication_params_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronDriverUriPublicationParams
impl !RefUnwindSafe for AeronDriverUriPublicationParams
impl !Send for AeronDriverUriPublicationParams
impl !Sync for AeronDriverUriPublicationParams
impl Unpin for AeronDriverUriPublicationParams
impl !UnwindSafe for AeronDriverUriPublicationParams
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
)