pub enum IpVersion {
V4,
V6,
}
Expand description
The kinds of networks that can be simulated in turmoil
Variants§
V4
An Ipv4 network with an address space of 192.168.0.0/16
V6
An local area Ipv6 network with an address space of fe80::/64
Trait Implementations§
source§impl PartialEq for IpVersion
impl PartialEq for IpVersion
impl Eq for IpVersion
impl StructuralPartialEq for IpVersion
Auto Trait Implementations§
impl Freeze for IpVersion
impl RefUnwindSafe for IpVersion
impl Send for IpVersion
impl Sync for IpVersion
impl Unpin for IpVersion
impl UnwindSafe for IpVersion
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.