pub struct StaticConfigV6 {
pub address: Ipv6Cidr,
pub gateway: Option<Ipv6Address>,
pub dns_servers: Vec<Ipv6Address, 3>,
}
Expand description
Static IPv6 address configuration
Fields§
§address: Ipv6Cidr
IP address and subnet mask.
gateway: Option<Ipv6Address>
Default gateway.
dns_servers: Vec<Ipv6Address, 3>
DNS servers.
Trait Implementations§
Source§impl Clone for StaticConfigV6
impl Clone for StaticConfigV6
Source§fn clone(&self) -> StaticConfigV6
fn clone(&self) -> StaticConfigV6
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 StaticConfigV6
impl Debug for StaticConfigV6
Source§impl PartialEq for StaticConfigV6
impl PartialEq for StaticConfigV6
impl Eq for StaticConfigV6
impl StructuralPartialEq for StaticConfigV6
Auto Trait Implementations§
impl Freeze for StaticConfigV6
impl RefUnwindSafe for StaticConfigV6
impl Send for StaticConfigV6
impl Sync for StaticConfigV6
impl Unpin for StaticConfigV6
impl UnwindSafe for StaticConfigV6
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
)