#[repr(C)]pub struct NetdevL2TPv3Options {Show 25 fields
pub src: *mut i8,
pub dst: *mut i8,
pub has_srcport: bool,
pub srcport: *mut i8,
pub has_dstport: bool,
pub dstport: *mut i8,
pub has_ipv6: bool,
pub ipv6: bool,
pub has_udp: bool,
pub udp: bool,
pub has_cookie64: bool,
pub cookie64: bool,
pub has_counter: bool,
pub counter: bool,
pub has_pincounter: bool,
pub pincounter: bool,
pub has_txcookie: bool,
pub txcookie: u64,
pub has_rxcookie: bool,
pub rxcookie: u64,
pub txsession: u32,
pub has_rxsession: bool,
pub rxsession: u32,
pub has_offset: bool,
pub offset: u32,
}Fields§
§src: *mut i8§dst: *mut i8§has_srcport: bool§srcport: *mut i8§has_dstport: bool§dstport: *mut i8§has_ipv6: bool§ipv6: bool§has_udp: bool§udp: bool§has_counter: bool§counter: bool§has_pincounter: bool§pincounter: bool§txsession: u32§has_rxsession: bool§rxsession: u32§has_offset: bool§offset: u32Trait Implementations§
Source§impl Clone for NetdevL2TPv3Options
impl Clone for NetdevL2TPv3Options
Source§fn clone(&self) -> NetdevL2TPv3Options
fn clone(&self) -> NetdevL2TPv3Options
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 NetdevL2TPv3Options
impl Debug for NetdevL2TPv3Options
impl Copy for NetdevL2TPv3Options
Auto Trait Implementations§
impl Freeze for NetdevL2TPv3Options
impl RefUnwindSafe for NetdevL2TPv3Options
impl !Send for NetdevL2TPv3Options
impl !Sync for NetdevL2TPv3Options
impl Unpin for NetdevL2TPv3Options
impl UnwindSafe for NetdevL2TPv3Options
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