Struct libc::af_alg_iv

#[repr(C)]
pub struct af_alg_iv {    
    pub ivlen: u32,
    pub iv: [::c_uchar; 0],
}
Documentation

WARNING: The PartialEq, Eq and Hash implementations of this type are unsound and will be removed in the future.

Fields

pub ivlen: u32
pub iv: [::c_uchar; 0]

Trait Implementations

impl Clone for af_alg_iv
fn clone(&Self) -> af_alg_iv
impl Copy for af_alg_iv
impl Debug for af_alg_iv
fn fmt(&Self, f: &mut ::fmt::Formatter<'_>) -> ::fmt::Result
impl Eq for af_alg_iv
impl Hash for af_alg_iv
fn hash<H: ::hash::Hasher>(&Self, state: &mut H)
impl PartialEq<af_alg_iv> for af_alg_iv
fn eq(&Self, other: &af_alg_iv) -> bool

Auto Trait Implementations

impl Send for af_alg_iv
impl Sync for af_alg_iv
impl Unpin for af_alg_iv
impl UnwindSafe for af_alg_iv

Blanket Implementations

impl<T> Any for T
where
    T: 'static + ?Sized,
fn type_id(&Self) -> TypeId
impl<T> Borrow<T> for T
where
    T: ?Sized,
fn borrow(&Self) -> &T
impl<T> BorrowMut<T> for T
where
    T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T
impl<T> From<T> for T
fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for T
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 T
where
    U: Into<T>,
type Error = Infallible
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for T
where
    U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_into(Self) -> Result<U, <U as TryFrom<T>>::Error>