pub struct AeronArchiveRecordingDescriptor { /* private fields */ }
Expand description
Struct containing the details of a recording
Implementations§
source§impl AeronArchiveRecordingDescriptor
impl AeronArchiveRecordingDescriptor
pub fn new( control_session_id: i64, correlation_id: i64, recording_id: i64, start_timestamp: i64, stop_timestamp: i64, start_position: i64, stop_position: i64, initial_term_id: i32, segment_file_length: i32, term_buffer_length: i32, mtu_length: i32, session_id: i32, stream_id: i32, stripped_channel: *mut c_char, stripped_channel_length: usize, original_channel: *mut c_char, original_channel_length: usize, source_identity: *mut c_char, source_identity_length: usize, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn control_session_id(&self) -> i64
pub fn correlation_id(&self) -> i64
pub fn recording_id(&self) -> i64
pub fn start_timestamp(&self) -> i64
pub fn stop_timestamp(&self) -> i64
pub fn start_position(&self) -> i64
pub fn stop_position(&self) -> i64
pub fn initial_term_id(&self) -> i32
pub fn segment_file_length(&self) -> i32
pub fn term_buffer_length(&self) -> i32
pub fn mtu_length(&self) -> i32
pub fn session_id(&self) -> i32
pub fn stream_id(&self) -> i32
pub fn stripped_channel(&self) -> *mut c_char
pub fn stripped_channel_length(&self) -> usize
pub fn original_channel(&self) -> *mut c_char
pub fn original_channel_length(&self) -> usize
pub fn source_identity(&self) -> *mut c_char
pub fn source_identity_length(&self) -> usize
pub fn get_inner(&self) -> *mut aeron_archive_recording_descriptor_t
Trait Implementations§
source§impl Clone for AeronArchiveRecordingDescriptor
impl Clone for AeronArchiveRecordingDescriptor
source§fn clone(&self) -> AeronArchiveRecordingDescriptor
fn clone(&self) -> AeronArchiveRecordingDescriptor
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 AeronArchiveRecordingDescriptor
impl Default for AeronArchiveRecordingDescriptor
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronArchiveRecordingDescriptor> for *mut aeron_archive_recording_descriptor_t
impl From<&AeronArchiveRecordingDescriptor> for *mut aeron_archive_recording_descriptor_t
source§fn from(value: &AeronArchiveRecordingDescriptor) -> Self
fn from(value: &AeronArchiveRecordingDescriptor) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_archive_recording_descriptor_stct> for AeronArchiveRecordingDescriptor
impl From<*const aeron_archive_recording_descriptor_stct> for AeronArchiveRecordingDescriptor
source§fn from(value: *const aeron_archive_recording_descriptor_t) -> Self
fn from(value: *const aeron_archive_recording_descriptor_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_archive_recording_descriptor_stct> for AeronArchiveRecordingDescriptor
impl From<*mut aeron_archive_recording_descriptor_stct> for AeronArchiveRecordingDescriptor
source§fn from(value: *mut aeron_archive_recording_descriptor_t) -> Self
fn from(value: *mut aeron_archive_recording_descriptor_t) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveRecordingDescriptor> for *mut aeron_archive_recording_descriptor_t
impl From<AeronArchiveRecordingDescriptor> for *mut aeron_archive_recording_descriptor_t
source§fn from(value: AeronArchiveRecordingDescriptor) -> Self
fn from(value: AeronArchiveRecordingDescriptor) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveRecordingDescriptor> for aeron_archive_recording_descriptor_t
impl From<AeronArchiveRecordingDescriptor> for aeron_archive_recording_descriptor_t
source§fn from(value: AeronArchiveRecordingDescriptor) -> Self
fn from(value: AeronArchiveRecordingDescriptor) -> Self
Converts to this type from the input type.
source§impl From<aeron_archive_recording_descriptor_stct> for AeronArchiveRecordingDescriptor
impl From<aeron_archive_recording_descriptor_stct> for AeronArchiveRecordingDescriptor
source§fn from(value: aeron_archive_recording_descriptor_t) -> Self
fn from(value: aeron_archive_recording_descriptor_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronArchiveRecordingDescriptor
impl !RefUnwindSafe for AeronArchiveRecordingDescriptor
impl !Send for AeronArchiveRecordingDescriptor
impl !Sync for AeronArchiveRecordingDescriptor
impl Unpin for AeronArchiveRecordingDescriptor
impl !UnwindSafe for AeronArchiveRecordingDescriptor
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
)