pub struct AeronPublicationError { /* private fields */ }
Implementations§
source§impl AeronPublicationError
impl AeronPublicationError
pub fn new( registration_id: i64, destination_registration_id: i64, session_id: i32, stream_id: i32, receiver_id: i64, group_tag: i64, address_type: i16, source_port: u16, source_address: [u8; 16], error_code: i32, error_message_length: i32, error_message: [u8; 1], ) -> Result<Self, AeronCError>
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]
pub fn get_inner(&self) -> *mut aeron_publication_error_t
Trait Implementations§
source§impl Clone for AeronPublicationError
impl Clone for AeronPublicationError
source§fn clone(&self) -> AeronPublicationError
fn clone(&self) -> AeronPublicationError
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 AeronPublicationError
impl Debug for AeronPublicationError
source§impl Default for AeronPublicationError
impl Default for AeronPublicationError
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronPublicationError
impl Deref for AeronPublicationError
source§impl From<&AeronPublicationError> for *mut aeron_publication_error_t
impl From<&AeronPublicationError> for *mut aeron_publication_error_t
source§fn from(value: &AeronPublicationError) -> Self
fn from(value: &AeronPublicationError) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_publication_error_stct> for AeronPublicationError
impl From<*const aeron_publication_error_stct> for AeronPublicationError
source§fn from(value: *const aeron_publication_error_t) -> Self
fn from(value: *const aeron_publication_error_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_publication_error_stct> for AeronPublicationError
impl From<*mut aeron_publication_error_stct> for AeronPublicationError
source§fn from(value: *mut aeron_publication_error_t) -> Self
fn from(value: *mut aeron_publication_error_t) -> Self
Converts to this type from the input type.
source§impl From<AeronPublicationError> for *mut aeron_publication_error_t
impl From<AeronPublicationError> for *mut aeron_publication_error_t
source§fn from(value: AeronPublicationError) -> Self
fn from(value: AeronPublicationError) -> Self
Converts to this type from the input type.
source§impl From<AeronPublicationError> for aeron_publication_error_t
impl From<AeronPublicationError> for aeron_publication_error_t
source§fn from(value: AeronPublicationError) -> Self
fn from(value: AeronPublicationError) -> Self
Converts to this type from the input type.
source§impl From<aeron_publication_error_stct> for AeronPublicationError
impl From<aeron_publication_error_stct> for AeronPublicationError
source§fn from(value: aeron_publication_error_t) -> Self
fn from(value: aeron_publication_error_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronPublicationError
impl !RefUnwindSafe for AeronPublicationError
impl !Send for AeronPublicationError
impl !Sync for AeronPublicationError
impl Unpin for AeronPublicationError
impl !UnwindSafe for AeronPublicationError
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
)