pub struct AeronArchiveRecordingSubscriptionDescriptor { /* private fields */ }
Expand description
Struct containing the details of a recording subscription
Implementations§
source§impl AeronArchiveRecordingSubscriptionDescriptor
impl AeronArchiveRecordingSubscriptionDescriptor
pub fn new( control_session_id: i64, correlation_id: i64, subscription_id: i64, stream_id: i32, stripped_channel: *mut c_char, stripped_channel_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 subscription_id(&self) -> i64
pub fn stream_id(&self) -> i32
pub fn stripped_channel(&self) -> *mut c_char
pub fn stripped_channel_length(&self) -> usize
pub fn get_inner( &self, ) -> *mut aeron_archive_recording_subscription_descriptor_t
Trait Implementations§
source§impl Clone for AeronArchiveRecordingSubscriptionDescriptor
impl Clone for AeronArchiveRecordingSubscriptionDescriptor
source§fn clone(&self) -> AeronArchiveRecordingSubscriptionDescriptor
fn clone(&self) -> AeronArchiveRecordingSubscriptionDescriptor
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 AeronArchiveRecordingSubscriptionDescriptor
impl Default for AeronArchiveRecordingSubscriptionDescriptor
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronArchiveRecordingSubscriptionDescriptor> for *mut aeron_archive_recording_subscription_descriptor_t
impl From<&AeronArchiveRecordingSubscriptionDescriptor> for *mut aeron_archive_recording_subscription_descriptor_t
source§fn from(value: &AeronArchiveRecordingSubscriptionDescriptor) -> Self
fn from(value: &AeronArchiveRecordingSubscriptionDescriptor) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_archive_recording_subscription_descriptor_stct> for AeronArchiveRecordingSubscriptionDescriptor
impl From<*const aeron_archive_recording_subscription_descriptor_stct> for AeronArchiveRecordingSubscriptionDescriptor
source§fn from(value: *const aeron_archive_recording_subscription_descriptor_t) -> Self
fn from(value: *const aeron_archive_recording_subscription_descriptor_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_archive_recording_subscription_descriptor_stct> for AeronArchiveRecordingSubscriptionDescriptor
impl From<*mut aeron_archive_recording_subscription_descriptor_stct> for AeronArchiveRecordingSubscriptionDescriptor
source§fn from(value: *mut aeron_archive_recording_subscription_descriptor_t) -> Self
fn from(value: *mut aeron_archive_recording_subscription_descriptor_t) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveRecordingSubscriptionDescriptor> for *mut aeron_archive_recording_subscription_descriptor_t
impl From<AeronArchiveRecordingSubscriptionDescriptor> for *mut aeron_archive_recording_subscription_descriptor_t
source§fn from(value: AeronArchiveRecordingSubscriptionDescriptor) -> Self
fn from(value: AeronArchiveRecordingSubscriptionDescriptor) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveRecordingSubscriptionDescriptor> for aeron_archive_recording_subscription_descriptor_t
impl From<AeronArchiveRecordingSubscriptionDescriptor> for aeron_archive_recording_subscription_descriptor_t
source§fn from(value: AeronArchiveRecordingSubscriptionDescriptor) -> Self
fn from(value: AeronArchiveRecordingSubscriptionDescriptor) -> Self
Converts to this type from the input type.
source§impl From<aeron_archive_recording_subscription_descriptor_stct> for AeronArchiveRecordingSubscriptionDescriptor
impl From<aeron_archive_recording_subscription_descriptor_stct> for AeronArchiveRecordingSubscriptionDescriptor
source§fn from(value: aeron_archive_recording_subscription_descriptor_t) -> Self
fn from(value: aeron_archive_recording_subscription_descriptor_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronArchiveRecordingSubscriptionDescriptor
impl !RefUnwindSafe for AeronArchiveRecordingSubscriptionDescriptor
impl !Send for AeronArchiveRecordingSubscriptionDescriptor
impl !Sync for AeronArchiveRecordingSubscriptionDescriptor
impl Unpin for AeronArchiveRecordingSubscriptionDescriptor
impl !UnwindSafe for AeronArchiveRecordingSubscriptionDescriptor
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
)