Struct srt_protocol::settings::KeySettings
source · pub struct KeySettings {
pub key_size: KeySize,
pub passphrase: Passphrase,
}
Fields§
§key_size: KeySize
§passphrase: Passphrase
Trait Implementations§
source§impl Clone for KeySettings
impl Clone for KeySettings
source§fn clone(&self) -> KeySettings
fn clone(&self) -> KeySettings
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 KeySettings
impl Debug for KeySettings
source§impl PartialEq<KeySettings> for KeySettings
impl PartialEq<KeySettings> for KeySettings
source§fn eq(&self, other: &KeySettings) -> bool
fn eq(&self, other: &KeySettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for KeySettings
impl StructuralEq for KeySettings
impl StructuralPartialEq for KeySettings
Auto Trait Implementations§
impl RefUnwindSafe for KeySettings
impl Send for KeySettings
impl Sync for KeySettings
impl Unpin for KeySettings
impl UnwindSafe for KeySettings
Blanket Implementations§
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.