Struct tls_crypto_info

#[repr(C)]
pub struct tls_crypto_info { pub version: __u16, pub cipher_type: __u16 }

Fields

version: __u16
cipher_type: __u16

Trait Implementations

impl Clone for tls_crypto_info

fn clone(&self) -> tls_crypto_info

impl Copy for tls_crypto_info

impl Debug for tls_crypto_info

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for tls_crypto_info

impl Hash for tls_crypto_info

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for tls_crypto_info

fn eq(&self, other: &tls_crypto_info) -> bool

impl StructuralPartialEq for tls_crypto_info

Auto Trait Implementations

impl Freeze for tls_crypto_info

impl RefUnwindSafe for tls_crypto_info

impl Send for tls_crypto_info

impl Sync for tls_crypto_info

impl Unpin for tls_crypto_info

impl UnsafeUnpin for tls_crypto_info

impl UnwindSafe for tls_crypto_info

Blanket Implementations

impl<T> Any for tls_crypto_info where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for tls_crypto_info where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for tls_crypto_info where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for tls_crypto_info where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for tls_crypto_info

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for tls_crypto_info where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for tls_crypto_info where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for tls_crypto_info where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>