#[non_exhaustive]pub struct MacSecInfo {Show 15 fields
pub sci: u64,
pub port: u16,
pub icv_len: u8,
pub cipher: MacSecCipherId,
pub window: u32,
pub encoding_sa: u8,
pub encrypt: bool,
pub protect: bool,
pub send_sci: bool,
pub end_station: bool,
pub scb: bool,
pub replay_protect: bool,
pub validate: MacSecValidate,
pub offload: MacSecOffload,
pub base_iface: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.sci: u64
§port: u16
§icv_len: u8
§cipher: MacSecCipherId
§window: u32
§encoding_sa: u8
§encrypt: bool
§protect: bool
§send_sci: bool
§end_station: bool
§scb: bool
§replay_protect: bool
§validate: MacSecValidate
§offload: MacSecOffload
§base_iface: Option<String>
Trait Implementations§
source§impl Clone for MacSecInfo
impl Clone for MacSecInfo
source§fn clone(&self) -> MacSecInfo
fn clone(&self) -> MacSecInfo
Returns a copy 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 MacSecInfo
impl Debug for MacSecInfo
source§impl Default for MacSecInfo
impl Default for MacSecInfo
source§fn default() -> MacSecInfo
fn default() -> MacSecInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MacSecInfo
impl<'de> Deserialize<'de> for MacSecInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for MacSecInfo
impl PartialEq for MacSecInfo
source§impl Serialize for MacSecInfo
impl Serialize for MacSecInfo
impl Eq for MacSecInfo
impl StructuralPartialEq for MacSecInfo
Auto Trait Implementations§
impl Freeze for MacSecInfo
impl RefUnwindSafe for MacSecInfo
impl Send for MacSecInfo
impl Sync for MacSecInfo
impl Unpin for MacSecInfo
impl UnwindSafe for MacSecInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)