#[repr(u8)]pub enum PacketInReason {
NoMatch = 0,
Action = 1,
InvalidTtl = 2,
ActionSet = 3,
Group = 4,
PacketOut = 5,
}Expand description
Reason codes for Packet-In messages.
Variants§
NoMatch = 0
No matching flow (table-miss).
Action = 1
Action explicitly output to controller.
InvalidTtl = 2
Packet has invalid TTL.
ActionSet = 3
Action set explicitly output to controller (OF 1.4+).
Group = 4
Group bucket explicitly output to controller (OF 1.4+).
PacketOut = 5
Packet sent for controller processing (OF 1.4+).
Trait Implementations§
Source§impl Clone for PacketInReason
impl Clone for PacketInReason
Source§fn clone(&self) -> PacketInReason
fn clone(&self) -> PacketInReason
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 PacketInReason
impl Debug for PacketInReason
Source§impl PartialEq for PacketInReason
impl PartialEq for PacketInReason
Source§impl TryFrom<u8> for PacketInReason
impl TryFrom<u8> for PacketInReason
impl Copy for PacketInReason
impl Eq for PacketInReason
impl StructuralPartialEq for PacketInReason
Auto Trait Implementations§
impl Freeze for PacketInReason
impl RefUnwindSafe for PacketInReason
impl Send for PacketInReason
impl Sync for PacketInReason
impl Unpin for PacketInReason
impl UnsafeUnpin for PacketInReason
impl UnwindSafe for PacketInReason
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