Enum sasl::Secret [] [src]

pub enum Secret {
    None,
    Password(String),
}

Represents a SASL secret, like a password.

Variants

No extra data needed.

Password required.

Trait Implementations

impl Clone for Secret
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Secret
[src]

Formats the value using the given formatter.

impl PartialEq for Secret
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Secret
[src]