pub enum OutputPort {
Port(u32),
Controller,
Flood,
All,
InPort,
Local,
Normal,
None,
}Expand description
Output port specification.
Variants§
Port(u32)
Physical or logical port number
Controller
Send to controller
Flood
Flood (all ports except input)
All
All ports except input
InPort
Input port
Local
Local (management) port
Normal
Normal L2/L3 processing
None
No output (drop)
Implementations§
Source§impl OutputPort
impl OutputPort
Trait Implementations§
Source§impl Clone for OutputPort
impl Clone for OutputPort
Source§fn clone(&self) -> OutputPort
fn clone(&self) -> OutputPort
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 OutputPort
impl Debug for OutputPort
Source§impl Display for OutputPort
impl Display for OutputPort
Source§impl From<u32> for OutputPort
impl From<u32> for OutputPort
impl Copy for OutputPort
Auto Trait Implementations§
impl Freeze for OutputPort
impl RefUnwindSafe for OutputPort
impl Send for OutputPort
impl Sync for OutputPort
impl Unpin for OutputPort
impl UnsafeUnpin for OutputPort
impl UnwindSafe for OutputPort
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