pub struct GENEVEOption { /* private fields */ }Expand description
Represents the Geneve Option field.
Implementations§
Source§impl GENEVEOption
impl GENEVEOption
pub fn option_class(&self) -> u16be
pub fn option_type(&self) -> u8
pub fn option_length(&self) -> u5
pub fn option_data(&self) -> &[u8] ⓘ
Trait Implementations§
Source§impl Clone for GENEVEOption
impl Clone for GENEVEOption
Source§fn clone(&self) -> GENEVEOption
fn clone(&self) -> GENEVEOption
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 moreAuto Trait Implementations§
impl Freeze for GENEVEOption
impl RefUnwindSafe for GENEVEOption
impl Send for GENEVEOption
impl Sync for GENEVEOption
impl Unpin for GENEVEOption
impl UnwindSafe for GENEVEOption
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