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