Struct tls12_crypto_info_sm4_ccm
#[repr(C)]
pub struct tls12_crypto_info_sm4_ccm { pub info: tls_crypto_info, pub iv: [c_uchar; 8], pub key: [c_uchar; 16], pub salt: [c_uchar; 4], pub rec_seq: [c_uchar; 8] }
Fields
info: tls_crypto_infoiv: [c_uchar; 8]key: [c_uchar; 16]salt: [c_uchar; 4]rec_seq: [c_uchar; 8]
Trait Implementations
impl Clone for tls12_crypto_info_sm4_ccm
fn clone(&self) -> tls12_crypto_info_sm4_ccm
impl Copy for tls12_crypto_info_sm4_ccm
impl Debug for tls12_crypto_info_sm4_ccm
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for tls12_crypto_info_sm4_ccm
impl Hash for tls12_crypto_info_sm4_ccm
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for tls12_crypto_info_sm4_ccm
fn eq(&self, other: &tls12_crypto_info_sm4_ccm) -> bool
impl StructuralPartialEq for tls12_crypto_info_sm4_ccm
Auto Trait Implementations
impl Freeze for tls12_crypto_info_sm4_ccm
impl RefUnwindSafe for tls12_crypto_info_sm4_ccm
impl Send for tls12_crypto_info_sm4_ccm
impl Sync for tls12_crypto_info_sm4_ccm
impl Unpin for tls12_crypto_info_sm4_ccm
impl UnsafeUnpin for tls12_crypto_info_sm4_ccm
impl UnwindSafe for tls12_crypto_info_sm4_ccm
Blanket Implementations
impl<T> Any for tls12_crypto_info_sm4_ccm
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for tls12_crypto_info_sm4_ccm
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for tls12_crypto_info_sm4_ccm
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for tls12_crypto_info_sm4_ccm
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for tls12_crypto_info_sm4_ccm
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for tls12_crypto_info_sm4_ccm
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for tls12_crypto_info_sm4_ccm
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for tls12_crypto_info_sm4_ccm
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>