Enum natpmp::ResponseType
source · pub enum ResponseType {
Gateway,
UDP,
TCP,
}
Expand description
NAT-PMP response type.
Variants
Gateway
UDP
TCP
Trait Implementations
sourceimpl Clone for ResponseType
impl Clone for ResponseType
sourcefn clone(&self) -> ResponseType
fn clone(&self) -> ResponseType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResponseType
impl Debug for ResponseType
sourceimpl Hash for ResponseType
impl Hash for ResponseType
sourceimpl PartialEq<ResponseType> for ResponseType
impl PartialEq<ResponseType> for ResponseType
sourcefn eq(&self, other: &ResponseType) -> bool
fn eq(&self, other: &ResponseType) -> bool
impl Copy for ResponseType
impl Eq for ResponseType
impl StructuralEq for ResponseType
impl StructuralPartialEq for ResponseType
Auto Trait Implementations
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more