Enum sasl::Secret
[−]
[src]
pub enum Secret { None, Password(String), }
Represents a SASL secret, like a password.
Variants
None
No extra data needed.
Password(String)
Password required.
Trait Implementations
impl Clone for Secret
[src]
fn clone(&self) -> Secret
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Secret
[src]
impl PartialEq for Secret
[src]
fn eq(&self, __arg_0: &Secret) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Secret) -> bool
This method tests for !=
.