Enum win_crypto_ng::symmetric::ChainingMode
source · pub enum ChainingMode {
Ecb,
Cbc,
Cfb,
}
Expand description
Symmetric algorithm chaining modes
Variants§
Ecb
Electronic Codebook
Standard: SP800-38A
Cbc
Cipher Block Chaining
Standard: SP800-38A
Cfb
Cipher Feedback
Standard: SP800-38A
Trait Implementations§
source§impl Clone for ChainingMode
impl Clone for ChainingMode
source§fn clone(&self) -> ChainingMode
fn clone(&self) -> ChainingMode
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 ChainingMode
impl Debug for ChainingMode
source§impl PartialEq<ChainingMode> for ChainingMode
impl PartialEq<ChainingMode> for ChainingMode
source§fn eq(&self, other: &ChainingMode) -> bool
fn eq(&self, other: &ChainingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChainingMode> for ChainingMode
impl PartialOrd<ChainingMode> for ChainingMode
source§fn partial_cmp(&self, other: &ChainingMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ChainingMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChainingMode
impl StructuralPartialEq for ChainingMode
Auto Trait Implementations§
impl RefUnwindSafe for ChainingMode
impl Send for ChainingMode
impl Sync for ChainingMode
impl Unpin for ChainingMode
impl UnwindSafe for ChainingMode
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