#[repr(C)]pub struct AddressInfo {
pub address: Ipv6Address,
pub prefix_length: u8,
}
Fields§
§address: Ipv6Address
§prefix_length: u8
Trait Implementations§
Source§impl Clone for AddressInfo
impl Clone for AddressInfo
Source§fn clone(&self) -> AddressInfo
fn clone(&self) -> AddressInfo
Returns a duplicate 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 AddressInfo
impl Debug for AddressInfo
impl Copy for AddressInfo
Auto Trait Implementations§
impl Freeze for AddressInfo
impl RefUnwindSafe for AddressInfo
impl Send for AddressInfo
impl Sync for AddressInfo
impl Unpin for AddressInfo
impl UnwindSafe for AddressInfo
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