pub struct AeronArchiveReplicationParams { /* private fields */ }
Expand description
Struct containing the available replication parameters.
Implementations§
source§impl AeronArchiveReplicationParams
impl AeronArchiveReplicationParams
pub fn new( stop_position: i64, dst_recording_id: i64, live_destination: &str, replication_channel: &str, src_response_channel: &str, channel_tag_id: i64, subscription_tag_id: i64, file_io_max_length: i32, replication_session_id: i32, encoded_credentials: &AeronArchiveEncodedCredentials, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn stop_position(&self) -> i64
pub fn dst_recording_id(&self) -> i64
pub fn live_destination(&self) -> &str
pub fn replication_channel(&self) -> &str
pub fn src_response_channel(&self) -> &str
pub fn channel_tag_id(&self) -> i64
pub fn subscription_tag_id(&self) -> i64
pub fn file_io_max_length(&self) -> i32
pub fn replication_session_id(&self) -> i32
pub fn encoded_credentials(&self) -> AeronArchiveEncodedCredentials
sourcepub fn init(&self) -> Result<i32, AeronCError>
pub fn init(&self) -> Result<i32, AeronCError>
Initialize an AeronArchiveReplicationParams
with the default values
pub fn get_inner(&self) -> *mut aeron_archive_replication_params_t
Trait Implementations§
source§impl Clone for AeronArchiveReplicationParams
impl Clone for AeronArchiveReplicationParams
source§fn clone(&self) -> AeronArchiveReplicationParams
fn clone(&self) -> AeronArchiveReplicationParams
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 AeronArchiveReplicationParams
impl Default for AeronArchiveReplicationParams
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronArchiveReplicationParams> for *mut aeron_archive_replication_params_t
impl From<&AeronArchiveReplicationParams> for *mut aeron_archive_replication_params_t
source§fn from(value: &AeronArchiveReplicationParams) -> Self
fn from(value: &AeronArchiveReplicationParams) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_archive_replication_params_stct> for AeronArchiveReplicationParams
impl From<*const aeron_archive_replication_params_stct> for AeronArchiveReplicationParams
source§fn from(value: *const aeron_archive_replication_params_t) -> Self
fn from(value: *const aeron_archive_replication_params_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_archive_replication_params_stct> for AeronArchiveReplicationParams
impl From<*mut aeron_archive_replication_params_stct> for AeronArchiveReplicationParams
source§fn from(value: *mut aeron_archive_replication_params_t) -> Self
fn from(value: *mut aeron_archive_replication_params_t) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveReplicationParams> for *mut aeron_archive_replication_params_t
impl From<AeronArchiveReplicationParams> for *mut aeron_archive_replication_params_t
source§fn from(value: AeronArchiveReplicationParams) -> Self
fn from(value: AeronArchiveReplicationParams) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveReplicationParams> for aeron_archive_replication_params_t
impl From<AeronArchiveReplicationParams> for aeron_archive_replication_params_t
source§fn from(value: AeronArchiveReplicationParams) -> Self
fn from(value: AeronArchiveReplicationParams) -> Self
Converts to this type from the input type.
source§impl From<aeron_archive_replication_params_stct> for AeronArchiveReplicationParams
impl From<aeron_archive_replication_params_stct> for AeronArchiveReplicationParams
source§fn from(value: aeron_archive_replication_params_t) -> Self
fn from(value: aeron_archive_replication_params_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronArchiveReplicationParams
impl !RefUnwindSafe for AeronArchiveReplicationParams
impl !Send for AeronArchiveReplicationParams
impl !Sync for AeronArchiveReplicationParams
impl Unpin for AeronArchiveReplicationParams
impl !UnwindSafe for AeronArchiveReplicationParams
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
)