pub enum OvsFragType {
None = 0,
First = 1,
Later = 2,
Any = 255,
}Available on crate feature
ovs_flow only.Expand description
Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
None = 0
Packet is not a fragment.
First = 1
Packet is a fragment with offset 0.
Later = 2
Packet is a fragment with nonzero offset.
Any = 255
Implementations§
Source§impl OvsFragType
impl OvsFragType
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for OvsFragType
impl Clone for OvsFragType
Source§fn clone(&self) -> OvsFragType
fn clone(&self) -> OvsFragType
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 OvsFragType
Auto Trait Implementations§
impl Freeze for OvsFragType
impl RefUnwindSafe for OvsFragType
impl Send for OvsFragType
impl Sync for OvsFragType
impl Unpin for OvsFragType
impl UnsafeUnpin for OvsFragType
impl UnwindSafe for OvsFragType
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