Struct mbedtls_sys::cipher_info_t
source · [−]#[repr(C)]pub struct cipher_info_t {
pub type_: cipher_type_t,
pub mode: cipher_mode_t,
pub key_bitlen: c_uint,
pub name: *const c_char,
pub iv_size: c_uint,
pub flags: c_int,
pub block_size: c_uint,
pub base: *const cipher_base_t,
}
Fields
type_: cipher_type_t
mode: cipher_mode_t
key_bitlen: c_uint
name: *const c_char
iv_size: c_uint
flags: c_int
block_size: c_uint
base: *const cipher_base_t
Trait Implementations
sourceimpl Clone for cipher_info_t
impl Clone for cipher_info_t
sourcefn clone(&self) -> cipher_info_t
fn clone(&self) -> cipher_info_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for cipher_info_t
impl Default for cipher_info_t
impl Copy for cipher_info_t
Auto Trait Implementations
impl RefUnwindSafe for cipher_info_t
impl !Send for cipher_info_t
impl !Sync for cipher_info_t
impl Unpin for cipher_info_t
impl UnwindSafe for cipher_info_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more