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§impl BitOr for PunchPolicy
impl BitOr for PunchPolicy
Source§type Output = PunchPolicySet
type Output = PunchPolicySet
The resulting type after applying the
| operator.Source§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§const fn clone_from(&mut self, source: &Self)
const 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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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
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