Struct pgp::native::types::StringToKey
source · pub struct StringToKey { /* private fields */ }
Implementations§
source§impl StringToKey
impl StringToKey
pub fn new_default<R>(rng: &mut R) -> StringToKeywhere R: CryptoRng + Rng,
pub fn new_iterated<R>( rng: &mut R, hash: HashAlgorithm, count: u8 ) -> StringToKeywhere R: CryptoRng + Rng,
Trait Implementations§
source§impl Clone for StringToKey
impl Clone for StringToKey
source§fn clone(&self) -> StringToKey
fn clone(&self) -> StringToKey
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 StringToKey
impl Debug for StringToKey
source§impl PartialEq<StringToKey> for StringToKey
impl PartialEq<StringToKey> for StringToKey
source§fn 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 ==
.source§impl 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§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.