Struct nrfxlib_sys::nrf_sec_config_t[][src]

#[repr(C)]pub struct nrf_sec_config_t {
    pub role: nrf_sec_role_t,
    pub peer_verify: nrf_sec_peer_verify_t,
    pub session_cache: nrf_sec_session_cache_t,
    pub cipher_count: u32,
    pub p_cipher_list: *mut nrf_sec_cipher_t,
    pub sec_tag_count: u32,
    pub p_sec_tag_list: *mut nrf_sec_tag_t,
}

Data type to combine all security configuration parameters.

Fields

role: nrf_sec_role_t

< Local role to be played. See nrf_sec_role_t for details.

peer_verify: nrf_sec_peer_verify_t

< Indicates the preference for peer verification. See nrf_sec_peer_verify_t for details.

session_cache: nrf_sec_session_cache_t

< Indicates the preference for session caching. See nrf_sec_session_cache_t for details.

cipher_count: u32

< Indicates the number of entries in the cipher list.

p_cipher_list: *mut nrf_sec_cipher_t

< Indicates the list of ciphers to be used for the session. See nrf_sec_cipher_t for details.

sec_tag_count: u32

< Indicates the number of entries in the sec tag list.

p_sec_tag_list: *mut nrf_sec_tag_t

< Indicates the list of security tags to be used for the session. See nrf_sec_tag_t for details.

Trait Implementations

impl Clone for nrf_sec_config_t[src]

impl Copy for nrf_sec_config_t[src]

impl Debug for nrf_sec_config_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.