pub struct PortMapProbe {
pub upnp: bool,
pub pcp: bool,
pub nat_pmp: bool,
}Expand description
Port mapping protocol availability on the LAN.
Fields§
§upnp: bool§pcp: bool§nat_pmp: boolTrait Implementations§
Source§impl Clone for PortMapProbe
impl Clone for PortMapProbe
Source§fn clone(&self) -> PortMapProbe
fn clone(&self) -> PortMapProbe
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 PortMapProbe
impl Debug for PortMapProbe
Source§impl<'de> Deserialize<'de> for PortMapProbe
impl<'de> Deserialize<'de> for PortMapProbe
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 PartialEq for PortMapProbe
impl PartialEq for PortMapProbe
Source§impl Serialize for PortMapProbe
impl Serialize for PortMapProbe
impl Eq for PortMapProbe
impl StructuralPartialEq for PortMapProbe
Auto Trait Implementations§
impl Freeze for PortMapProbe
impl RefUnwindSafe for PortMapProbe
impl Send for PortMapProbe
impl Sync for PortMapProbe
impl Unpin for PortMapProbe
impl UnwindSafe for PortMapProbe
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.