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