Enum kvarn::BindIpVersion
source · pub enum BindIpVersion {
V4,
V6,
Both,
}
Expand description
Which version of the Internet Protocol to bind to.
Variants§
Trait Implementations§
source§impl Clone for BindIpVersion
impl Clone for BindIpVersion
source§fn clone(&self) -> BindIpVersion
fn clone(&self) -> BindIpVersion
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 BindIpVersion
impl Debug for BindIpVersion
source§impl PartialEq<BindIpVersion> for BindIpVersion
impl PartialEq<BindIpVersion> for BindIpVersion
source§fn eq(&self, other: &BindIpVersion) -> bool
fn eq(&self, other: &BindIpVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BindIpVersion
impl Eq for BindIpVersion
impl StructuralEq for BindIpVersion
impl StructuralPartialEq for BindIpVersion
Auto Trait Implementations§
impl RefUnwindSafe for BindIpVersion
impl Send for BindIpVersion
impl Sync for BindIpVersion
impl Unpin for BindIpVersion
impl UnwindSafe for BindIpVersion
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.