pub struct AeronBroadcastRecordDescriptor { /* private fields */ }
Implementations§
source§impl AeronBroadcastRecordDescriptor
impl AeronBroadcastRecordDescriptor
pub fn new(length: i32, msg_type_id: i32) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn length(&self) -> i32
pub fn msg_type_id(&self) -> i32
pub fn get_inner(&self) -> *mut aeron_broadcast_record_descriptor_t
Trait Implementations§
source§impl Clone for AeronBroadcastRecordDescriptor
impl Clone for AeronBroadcastRecordDescriptor
source§fn clone(&self) -> AeronBroadcastRecordDescriptor
fn clone(&self) -> AeronBroadcastRecordDescriptor
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 AeronBroadcastRecordDescriptor
impl Default for AeronBroadcastRecordDescriptor
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronBroadcastRecordDescriptor> for *mut aeron_broadcast_record_descriptor_t
impl From<&AeronBroadcastRecordDescriptor> for *mut aeron_broadcast_record_descriptor_t
source§fn from(value: &AeronBroadcastRecordDescriptor) -> Self
fn from(value: &AeronBroadcastRecordDescriptor) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_broadcast_record_descriptor_stct> for AeronBroadcastRecordDescriptor
impl From<*const aeron_broadcast_record_descriptor_stct> for AeronBroadcastRecordDescriptor
source§fn from(value: *const aeron_broadcast_record_descriptor_t) -> Self
fn from(value: *const aeron_broadcast_record_descriptor_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_broadcast_record_descriptor_stct> for AeronBroadcastRecordDescriptor
impl From<*mut aeron_broadcast_record_descriptor_stct> for AeronBroadcastRecordDescriptor
source§fn from(value: *mut aeron_broadcast_record_descriptor_t) -> Self
fn from(value: *mut aeron_broadcast_record_descriptor_t) -> Self
Converts to this type from the input type.
source§impl From<AeronBroadcastRecordDescriptor> for *mut aeron_broadcast_record_descriptor_t
impl From<AeronBroadcastRecordDescriptor> for *mut aeron_broadcast_record_descriptor_t
source§fn from(value: AeronBroadcastRecordDescriptor) -> Self
fn from(value: AeronBroadcastRecordDescriptor) -> Self
Converts to this type from the input type.
source§impl From<AeronBroadcastRecordDescriptor> for aeron_broadcast_record_descriptor_t
impl From<AeronBroadcastRecordDescriptor> for aeron_broadcast_record_descriptor_t
source§fn from(value: AeronBroadcastRecordDescriptor) -> Self
fn from(value: AeronBroadcastRecordDescriptor) -> Self
Converts to this type from the input type.
source§impl From<aeron_broadcast_record_descriptor_stct> for AeronBroadcastRecordDescriptor
impl From<aeron_broadcast_record_descriptor_stct> for AeronBroadcastRecordDescriptor
source§fn from(value: aeron_broadcast_record_descriptor_t) -> Self
fn from(value: aeron_broadcast_record_descriptor_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronBroadcastRecordDescriptor
impl !RefUnwindSafe for AeronBroadcastRecordDescriptor
impl !Send for AeronBroadcastRecordDescriptor
impl !Sync for AeronBroadcastRecordDescriptor
impl Unpin for AeronBroadcastRecordDescriptor
impl !UnwindSafe for AeronBroadcastRecordDescriptor
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
)