pub struct In6Addr { /* private fields */ }
Implementations§
Source§impl In6Addr
impl In6Addr
Sourcepub fn new_zeroed_on_heap() -> Self
pub fn new_zeroed_on_heap() -> Self
creates zeroed struct where the underlying c struct is on the heap
Sourcepub fn new_zeroed_on_stack() -> Self
pub fn new_zeroed_on_stack() -> Self
creates zeroed struct where the underlying c struct is on the stack (Use with care)
pub fn aeron_ipv6_does_prefix_match(&self, prefixlen: usize) -> bool
pub fn aeron_ipv6_netmask_to_prefixlen(&self) -> usize
pub fn get_inner(&self) -> *mut in6_addr
pub fn get_inner_mut(&self) -> &mut in6_addr
pub fn get_inner_ref(&self) -> &in6_addr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for In6Addr
impl !RefUnwindSafe for In6Addr
impl !Send for In6Addr
impl !Sync for In6Addr
impl Unpin for In6Addr
impl !UnwindSafe for In6Addr
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