pub enum PaddingMode {
Zero,
Random,
}
Variants§
Trait Implementations§
source§impl Clone for PaddingMode
impl Clone for PaddingMode
source§fn clone(&self) -> PaddingMode
fn clone(&self) -> PaddingMode
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 PaddingMode
impl Debug for PaddingMode
source§impl Hash for PaddingMode
impl Hash for PaddingMode
source§impl PartialEq<PaddingMode> for PaddingMode
impl PartialEq<PaddingMode> for PaddingMode
source§fn eq(&self, other: &PaddingMode) -> bool
fn eq(&self, other: &PaddingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaddingMode
impl Eq for PaddingMode
impl StructuralEq for PaddingMode
impl StructuralPartialEq for PaddingMode
Auto Trait Implementations§
impl RefUnwindSafe for PaddingMode
impl Send for PaddingMode
impl Sync for PaddingMode
impl Unpin for PaddingMode
impl UnwindSafe for PaddingMode
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
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
source§fn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.