Struct af_alg_iv

Deprecated since 0.2.80: this struct has unsafe trait implementations that will be removed in the future
#[repr(C)]
pub struct af_alg_iv { pub ivlen: u32, pub iv: [c_uchar; 0] }

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

Fields

ivlen: u32
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 Formatter<'_>) -> Result

impl Eq for af_alg_iv

impl Hash for af_alg_iv

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

impl PartialEq for af_alg_iv

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

Auto Trait Implementations

impl Freeze for af_alg_iv

impl RefUnwindSafe for af_alg_iv

impl Send for af_alg_iv

impl Sync for af_alg_iv

impl Unpin for af_alg_iv

impl UnsafeUnpin for af_alg_iv

impl UnwindSafe for af_alg_iv

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for af_alg_iv

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for af_alg_iv 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 af_alg_iv where U: Into<T>,

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

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

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