Enum gcrypt::cipher::Mode [−][src]
pub enum Mode { Ecb, Cfb, Cbc, Stream, Ofb, Ctr, AesWrap, Ccm, Gcm, Poly1305, Ocb, Cfb8, Xts, Other(c_int), }
Variants
Ecb
Cfb
Cbc
Stream
Ofb
Ctr
AesWrap
Ccm
Gcm
Poly1305
Ocb
Cfb8
Xts
Other(c_int)
Methods
impl Mode
[src]
impl Mode
impl Mode
[src]
impl Mode
pub fn from_oid(
name: impl CStrArgument
) -> Option<Mode>
[src]
pub fn from_oid(
name: impl CStrArgument
) -> Option<Mode>
Trait Implementations
impl Copy for Mode
[src]
impl Copy for Mode
impl Clone for Mode
[src]
impl Clone for Mode
fn clone(&self) -> Mode
[src]
fn clone(&self) -> Mode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Mode
[src]
impl Eq for Mode
impl PartialEq for Mode
[src]
impl PartialEq for Mode
fn eq(&self, other: &Mode) -> bool
[src]
fn eq(&self, other: &Mode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Mode) -> bool
[src]
fn ne(&self, other: &Mode) -> bool
This method tests for !=
.
impl Hash for Mode
[src]
impl Hash for Mode
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Mode
[src]
impl Debug for Mode