#[repr(u32)]pub enum mbedtls_cipher_mode_t {
MBEDTLS_MODE_NONE = 0,
MBEDTLS_MODE_ECB = 1,
MBEDTLS_MODE_CBC = 2,
MBEDTLS_MODE_CFB = 3,
MBEDTLS_MODE_OFB = 4,
MBEDTLS_MODE_CTR = 5,
MBEDTLS_MODE_GCM = 6,
MBEDTLS_MODE_STREAM = 7,
MBEDTLS_MODE_CCM = 8,
MBEDTLS_MODE_XEX = 9,
MBEDTLS_MODE_XTS = 10,
}Variants§
MBEDTLS_MODE_NONE = 0
MBEDTLS_MODE_ECB = 1
MBEDTLS_MODE_CBC = 2
MBEDTLS_MODE_CFB = 3
MBEDTLS_MODE_OFB = 4
MBEDTLS_MODE_CTR = 5
MBEDTLS_MODE_GCM = 6
MBEDTLS_MODE_STREAM = 7
MBEDTLS_MODE_CCM = 8
MBEDTLS_MODE_XEX = 9
MBEDTLS_MODE_XTS = 10
Trait Implementations§
Source§impl Clone for mbedtls_cipher_mode_t
impl Clone for mbedtls_cipher_mode_t
Source§fn clone(&self) -> mbedtls_cipher_mode_t
fn clone(&self) -> mbedtls_cipher_mode_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for mbedtls_cipher_mode_t
impl Debug for mbedtls_cipher_mode_t
Source§impl Hash for mbedtls_cipher_mode_t
impl Hash for mbedtls_cipher_mode_t
Source§impl PartialEq for mbedtls_cipher_mode_t
impl PartialEq for mbedtls_cipher_mode_t
impl Copy for mbedtls_cipher_mode_t
impl Eq for mbedtls_cipher_mode_t
impl StructuralPartialEq for mbedtls_cipher_mode_t
Auto Trait Implementations§
impl Freeze for mbedtls_cipher_mode_t
impl RefUnwindSafe for mbedtls_cipher_mode_t
impl Send for mbedtls_cipher_mode_t
impl Sync for mbedtls_cipher_mode_t
impl Unpin for mbedtls_cipher_mode_t
impl UnwindSafe for mbedtls_cipher_mode_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more