pub struct ProbeOutput {
pub upnp: bool,
pub pcp: bool,
pub nat_pmp: bool,
}Expand description
Output of a port mapping probe.
Fields§
§upnp: boolIf UPnP can be considered available.
pcp: boolIf PCP can be considered available.
nat_pmp: boolIf PMP can be considered available.
Implementations§
Source§impl ProbeOutput
impl ProbeOutput
Sourcepub fn all_available(&self) -> bool
pub fn all_available(&self) -> bool
Indicates if all port mapping protocols are available.
Trait Implementations§
Source§impl Clone for ProbeOutput
impl Clone for ProbeOutput
Source§impl Debug for ProbeOutput
impl Debug for ProbeOutput
Source§impl Display for ProbeOutput
impl Display for ProbeOutput
impl Eq for ProbeOutput
Source§impl PartialEq for ProbeOutput
impl PartialEq for ProbeOutput
impl StructuralPartialEq for ProbeOutput
Auto Trait Implementations§
impl Freeze for ProbeOutput
impl RefUnwindSafe for ProbeOutput
impl Send for ProbeOutput
impl Sync for ProbeOutput
impl Unpin for ProbeOutput
impl UnsafeUnpin for ProbeOutput
impl UnwindSafe for ProbeOutput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.