pub enum PortMappingProtocol {
TCP,
UDP,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for PortMappingProtocol
impl Clone for PortMappingProtocol
Source§fn clone(&self) -> PortMappingProtocol
fn clone(&self) -> PortMappingProtocol
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 PortMappingProtocol
impl Debug for PortMappingProtocol
Source§impl<'de> Deserialize<'de> for PortMappingProtocol
impl<'de> Deserialize<'de> for PortMappingProtocol
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 From<PortMappingProtocol> for PortMappingProtocol
impl From<PortMappingProtocol> for PortMappingProtocol
Source§fn from(proto: PortMappingProtocol) -> Self
fn from(proto: PortMappingProtocol) -> Self
Converts to this type from the input type.
impl Copy for PortMappingProtocol
Auto Trait Implementations§
impl Freeze for PortMappingProtocol
impl RefUnwindSafe for PortMappingProtocol
impl Send for PortMappingProtocol
impl Sync for PortMappingProtocol
impl Unpin for PortMappingProtocol
impl UnwindSafe for PortMappingProtocol
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