Struct StaticConfigV6
pub struct StaticConfigV6 {
pub address: Cidr,
pub gateway: Option<Ipv6Addr>,
pub dns_servers: Vec<Ipv6Addr, 3>,
}
Available on crate feature
proto-ipv6
only.Expand description
Static IPv6 address configuration
Fields§
§address: Cidr
IP address and subnet mask.
gateway: Option<Ipv6Addr>
Default gateway.
dns_servers: Vec<Ipv6Addr, 3>
DNS servers.
Trait Implementations§
§impl Clone for StaticConfigV6
impl Clone for StaticConfigV6
§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 more§impl Debug for StaticConfigV6
impl Debug for StaticConfigV6
§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