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