Struct pgp::types::StringToKey
source · [−]pub struct StringToKey { /* private fields */ }
Implementations
sourceimpl StringToKey
impl StringToKey
pub fn new_default<R: CryptoRng + Rng>(rng: &mut R) -> Self
pub fn new_iterated<R: CryptoRng + Rng>(
rng: &mut R,
hash: HashAlgorithm,
count: u8
) -> Self
Trait Implementations
sourceimpl Clone for StringToKey
impl Clone for StringToKey
sourcefn clone(&self) -> StringToKey
fn clone(&self) -> StringToKey
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 Debug for StringToKey
impl Debug for StringToKey
sourceimpl PartialEq<StringToKey> for StringToKey
impl PartialEq<StringToKey> for StringToKey
sourcefn eq(&self, other: &StringToKey) -> bool
fn eq(&self, other: &StringToKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StringToKey) -> bool
fn ne(&self, other: &StringToKey) -> bool
This method tests for !=
.
sourceimpl Serialize for StringToKey
impl Serialize for StringToKey
impl Eq for StringToKey
impl StructuralEq for StringToKey
impl StructuralPartialEq for StringToKey
Auto Trait Implementations
impl RefUnwindSafe for StringToKey
impl Send for StringToKey
impl Sync for StringToKey
impl Unpin for StringToKey
impl UnwindSafe for StringToKey
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