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