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