pub enum InboundProtocol {
Tcp,
Udp,
}Expand description
Protocol for port forwarding rules.
Variants§
Trait Implementations§
Source§impl Clone for InboundProtocol
impl Clone for InboundProtocol
Source§fn clone(&self) -> InboundProtocol
fn clone(&self) -> InboundProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InboundProtocol
Source§impl Debug for InboundProtocol
impl Debug for InboundProtocol
impl Eq for InboundProtocol
Source§impl Hash for InboundProtocol
impl Hash for InboundProtocol
Source§impl PartialEq for InboundProtocol
impl PartialEq for InboundProtocol
impl StructuralPartialEq for InboundProtocol
Auto Trait Implementations§
impl Freeze for InboundProtocol
impl RefUnwindSafe for InboundProtocol
impl Send for InboundProtocol
impl Sync for InboundProtocol
impl Unpin for InboundProtocol
impl UnsafeUnpin for InboundProtocol
impl UnwindSafe for InboundProtocol
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