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