pub struct AeronPublicationErrorValues { /* private fields */ }
Implementations§
source§impl AeronPublicationErrorValues
impl AeronPublicationErrorValues
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn registration_id(&self) -> i64
pub fn destination_registration_id(&self) -> i64
pub fn session_id(&self) -> i32
pub fn stream_id(&self) -> i32
pub fn receiver_id(&self) -> i64
pub fn group_tag(&self) -> i64
pub fn address_type(&self) -> i16
pub fn source_port(&self) -> u16
pub fn source_address(&self) -> [u8; 16]
pub fn error_code(&self) -> i32
pub fn error_message_length(&self) -> i32
pub fn error_message(&self) -> [u8; 1]
sourcepub fn delete(&self)
pub fn delete(&self)
Delete a instance of AeronPublicationErrorValues
that was created when making a copy
(aeron_publication_error_values_copy). This should not be use on the pointer received via the aeron_frame_handler_t.
pub fn get_inner(&self) -> *mut aeron_publication_error_values_t
Trait Implementations§
source§impl Clone for AeronPublicationErrorValues
impl Clone for AeronPublicationErrorValues
source§fn clone(&self) -> AeronPublicationErrorValues
fn clone(&self) -> AeronPublicationErrorValues
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 Debug for AeronPublicationErrorValues
impl Debug for AeronPublicationErrorValues
source§impl Deref for AeronPublicationErrorValues
impl Deref for AeronPublicationErrorValues
source§impl From<&AeronPublicationErrorValues> for *mut aeron_publication_error_values_t
impl From<&AeronPublicationErrorValues> for *mut aeron_publication_error_values_t
source§fn from(value: &AeronPublicationErrorValues) -> Self
fn from(value: &AeronPublicationErrorValues) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_publication_error_values_stct> for AeronPublicationErrorValues
impl From<*const aeron_publication_error_values_stct> for AeronPublicationErrorValues
source§fn from(value: *const aeron_publication_error_values_t) -> Self
fn from(value: *const aeron_publication_error_values_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_publication_error_values_stct> for AeronPublicationErrorValues
impl From<*mut aeron_publication_error_values_stct> for AeronPublicationErrorValues
source§fn from(value: *mut aeron_publication_error_values_t) -> Self
fn from(value: *mut aeron_publication_error_values_t) -> Self
Converts to this type from the input type.
source§impl From<AeronPublicationErrorValues> for *mut aeron_publication_error_values_t
impl From<AeronPublicationErrorValues> for *mut aeron_publication_error_values_t
source§fn from(value: AeronPublicationErrorValues) -> Self
fn from(value: AeronPublicationErrorValues) -> Self
Converts to this type from the input type.
source§impl From<AeronPublicationErrorValues> for aeron_publication_error_values_t
impl From<AeronPublicationErrorValues> for aeron_publication_error_values_t
source§fn from(value: AeronPublicationErrorValues) -> Self
fn from(value: AeronPublicationErrorValues) -> Self
Converts to this type from the input type.
source§impl From<aeron_publication_error_values_stct> for AeronPublicationErrorValues
impl From<aeron_publication_error_values_stct> for AeronPublicationErrorValues
source§fn from(value: aeron_publication_error_values_t) -> Self
fn from(value: aeron_publication_error_values_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronPublicationErrorValues
impl !RefUnwindSafe for AeronPublicationErrorValues
impl !Send for AeronPublicationErrorValues
impl !Sync for AeronPublicationErrorValues
impl Unpin for AeronPublicationErrorValues
impl !UnwindSafe for AeronPublicationErrorValues
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
)