#[repr(C)]pub struct xfrm_user_mapping {
pub id: xfrm_usersa_id,
pub reqid: __u32,
pub old_saddr: xfrm_address_t,
pub new_saddr: xfrm_address_t,
pub old_sport: __be16,
pub new_sport: __be16,
}Fields§
§id: xfrm_usersa_id§reqid: __u32§old_saddr: xfrm_address_t§new_saddr: xfrm_address_t§old_sport: __be16§new_sport: __be16Trait Implementations§
Source§impl Clone for xfrm_user_mapping
impl Clone for xfrm_user_mapping
Source§fn clone(&self) -> xfrm_user_mapping
fn clone(&self) -> xfrm_user_mapping
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_user_mapping
impl Default for xfrm_user_mapping
impl Copy for xfrm_user_mapping
Auto Trait Implementations§
impl Freeze for xfrm_user_mapping
impl RefUnwindSafe for xfrm_user_mapping
impl Send for xfrm_user_mapping
impl Sync for xfrm_user_mapping
impl Unpin for xfrm_user_mapping
impl UnwindSafe for xfrm_user_mapping
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