pub struct AeronRejectImageCommand { /* private fields */ }
Implementations§
source§impl AeronRejectImageCommand
impl AeronRejectImageCommand
pub fn new( correlated: AeronCorrelatedCommand, image_correlation_id: i64, position: i64, reason_length: i32, reason_text: [u8; 1], ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn image_correlation_id(&self) -> i64
pub fn position(&self) -> i64
pub fn reason_length(&self) -> i32
pub fn reason_text(&self) -> [u8; 1]
pub fn get_inner(&self) -> *mut aeron_reject_image_command_t
Trait Implementations§
source§impl Clone for AeronRejectImageCommand
impl Clone for AeronRejectImageCommand
source§fn clone(&self) -> AeronRejectImageCommand
fn clone(&self) -> AeronRejectImageCommand
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 AeronRejectImageCommand
impl Debug for AeronRejectImageCommand
source§impl Default for AeronRejectImageCommand
impl Default for AeronRejectImageCommand
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronRejectImageCommand
impl Deref for AeronRejectImageCommand
source§impl From<&AeronRejectImageCommand> for *mut aeron_reject_image_command_t
impl From<&AeronRejectImageCommand> for *mut aeron_reject_image_command_t
source§fn from(value: &AeronRejectImageCommand) -> Self
fn from(value: &AeronRejectImageCommand) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_reject_image_command_stct> for AeronRejectImageCommand
impl From<*const aeron_reject_image_command_stct> for AeronRejectImageCommand
source§fn from(value: *const aeron_reject_image_command_t) -> Self
fn from(value: *const aeron_reject_image_command_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_reject_image_command_stct> for AeronRejectImageCommand
impl From<*mut aeron_reject_image_command_stct> for AeronRejectImageCommand
source§fn from(value: *mut aeron_reject_image_command_t) -> Self
fn from(value: *mut aeron_reject_image_command_t) -> Self
Converts to this type from the input type.
source§impl From<AeronRejectImageCommand> for *mut aeron_reject_image_command_t
impl From<AeronRejectImageCommand> for *mut aeron_reject_image_command_t
source§fn from(value: AeronRejectImageCommand) -> Self
fn from(value: AeronRejectImageCommand) -> Self
Converts to this type from the input type.
source§impl From<AeronRejectImageCommand> for aeron_reject_image_command_t
impl From<AeronRejectImageCommand> for aeron_reject_image_command_t
source§fn from(value: AeronRejectImageCommand) -> Self
fn from(value: AeronRejectImageCommand) -> Self
Converts to this type from the input type.
source§impl From<aeron_reject_image_command_stct> for AeronRejectImageCommand
impl From<aeron_reject_image_command_stct> for AeronRejectImageCommand
source§fn from(value: aeron_reject_image_command_t) -> Self
fn from(value: aeron_reject_image_command_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronRejectImageCommand
impl !RefUnwindSafe for AeronRejectImageCommand
impl !Send for AeronRejectImageCommand
impl !Sync for AeronRejectImageCommand
impl Unpin for AeronRejectImageCommand
impl !UnwindSafe for AeronRejectImageCommand
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
)