pub enum PunchPolicy {
IPv4Tcp,
IPv4Udp,
IPv6Tcp,
IPv6Udp,
}Variants§
Trait Implementations§
Source§impl BitOr<PunchPolicy> for PunchPolicySet
impl BitOr<PunchPolicy> for PunchPolicySet
Source§type Output = PunchPolicySet
type Output = PunchPolicySet
The resulting type after applying the
| operator.Source§fn bitor(
self,
rhs: PunchPolicy,
) -> <PunchPolicySet as BitOr<PunchPolicy>>::Output
fn bitor( self, rhs: PunchPolicy, ) -> <PunchPolicySet as BitOr<PunchPolicy>>::Output
Performs the
| operation. Read moreSource§impl BitOr for PunchPolicy
impl BitOr for PunchPolicy
Source§type Output = PunchPolicySet
type Output = PunchPolicySet
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: PunchPolicy) -> <PunchPolicy as BitOr>::Output
fn bitor(self, rhs: PunchPolicy) -> <PunchPolicy as BitOr>::Output
Performs the
| operation. Read moreSource§impl Clone for PunchPolicy
impl Clone for PunchPolicy
Source§fn clone(&self) -> PunchPolicy
fn clone(&self) -> PunchPolicy
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 PunchPolicy
impl Debug for PunchPolicy
Source§impl<'de> Deserialize<'de> for PunchPolicy
impl<'de> Deserialize<'de> for PunchPolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PunchPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PunchPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for PunchPolicy
impl FromStr for PunchPolicy
Source§impl Hash for PunchPolicy
impl Hash for PunchPolicy
Source§impl PartialEq for PunchPolicy
impl PartialEq for PunchPolicy
Source§impl Serialize for PunchPolicy
impl Serialize for PunchPolicy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for PunchPolicy
impl Eq for PunchPolicy
impl StructuralPartialEq for PunchPolicy
Auto Trait Implementations§
impl Freeze for PunchPolicy
impl RefUnwindSafe for PunchPolicy
impl Send for PunchPolicy
impl Sync for PunchPolicy
impl Unpin for PunchPolicy
impl UnwindSafe for PunchPolicy
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