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