#[repr(C)]pub struct xfrm_userpolicy_info {
pub sel: xfrm_selector,
pub lft: xfrm_lifetime_cfg,
pub curlft: xfrm_lifetime_cur,
pub priority: __u32,
pub index: __u32,
pub dir: __u8,
pub action: __u8,
pub flags: __u8,
pub share: __u8,
pub __bindgen_padding_0: [u8; 4],
}Fields§
§sel: xfrm_selector§lft: xfrm_lifetime_cfg§curlft: xfrm_lifetime_cur§priority: __u32§index: __u32§dir: __u8§action: __u8§flags: __u8§__bindgen_padding_0: [u8; 4]Trait Implementations§
Source§impl Clone for xfrm_userpolicy_info
impl Clone for xfrm_userpolicy_info
Source§fn clone(&self) -> xfrm_userpolicy_info
fn clone(&self) -> xfrm_userpolicy_info
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 Default for xfrm_userpolicy_info
impl Default for xfrm_userpolicy_info
impl Copy for xfrm_userpolicy_info
Auto Trait Implementations§
impl Freeze for xfrm_userpolicy_info
impl RefUnwindSafe for xfrm_userpolicy_info
impl Send for xfrm_userpolicy_info
impl Sync for xfrm_userpolicy_info
impl Unpin for xfrm_userpolicy_info
impl UnwindSafe for xfrm_userpolicy_info
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