pub enum Pop3Command {
}Expand description
POP3 commands as defined in RFC 1939
Variants§
User(String)
USER name - specify username
Pass(String)
PASS string - authenticate with password
Stat
STAT - get mailbox statistics
List(Option<u32>)
LIST [msg] - list messages
Retr(u32)
RETR msg - retrieve a message
Dele(u32)
DELE msg - mark message for deletion
Noop
NOOP - no operation
Rset
RSET - reset session (unmark deletions)
Quit
QUIT - quit session
Top
TOP msg n - retrieve message headers and n lines of body
Uidl(Option<u32>)
UIDL [msg] - unique-id listing
Apop
APOP name digest - alternative authentication (MD5 digest)
Capa
CAPA - list capabilities
Stls
STLS - start TLS (STARTTLS)
Trait Implementations§
Source§impl Clone for Pop3Command
impl Clone for Pop3Command
Source§fn clone(&self) -> Pop3Command
fn clone(&self) -> Pop3Command
Returns a duplicate 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 Pop3Command
impl Debug for Pop3Command
Source§impl Display for Pop3Command
impl Display for Pop3Command
Source§impl PartialEq for Pop3Command
impl PartialEq for Pop3Command
impl StructuralPartialEq for Pop3Command
Auto Trait Implementations§
impl Freeze for Pop3Command
impl RefUnwindSafe for Pop3Command
impl Send for Pop3Command
impl Sync for Pop3Command
impl Unpin for Pop3Command
impl UnsafeUnpin for Pop3Command
impl UnwindSafe for Pop3Command
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.