Enum imap_types::response::GreetingKind
source · [−]pub enum GreetingKind {
Ok,
PreAuth,
Bye,
}Expand description
IMAP4rev1 defines three possible greetings at connection startup.
Variants
Ok
The connection is not yet authenticated.
(Advice: A LOGIN command is needed.)
PreAuth
The connection has already been authenticated by external means.
(Advice: No LOGIN command is needed.)
Bye
The server is not willing to accept a connection from this client.
(Advice: The server closes the connection immediately.)
Trait Implementations
sourceimpl Clone for GreetingKind
impl Clone for GreetingKind
sourcefn clone(&self) -> GreetingKind
fn clone(&self) -> GreetingKind
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 GreetingKind
impl Debug for GreetingKind
sourceimpl Hash for GreetingKind
impl Hash for GreetingKind
sourceimpl PartialEq<GreetingKind> for GreetingKind
impl PartialEq<GreetingKind> for GreetingKind
impl Eq for GreetingKind
impl StructuralEq for GreetingKind
impl StructuralPartialEq for GreetingKind
Auto Trait Implementations
impl RefUnwindSafe for GreetingKind
impl Send for GreetingKind
impl Sync for GreetingKind
impl Unpin for GreetingKind
impl UnwindSafe for GreetingKind
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