pub enum Response {
Show 16 variants
APOP,
AUTH(AuthResponse),
CAPA(Vec<String>),
DELE,
GREET(String),
LIST(ListResponse),
NOOP,
PASS(String),
QUIT,
RETR(String),
STAT {
count: usize,
size: usize,
},
RSET,
TOP(String),
UIDL(UidlResponse),
USER(String),
ERR(String),
}
Expand description
§Example POP3 Session
S: <wait for connection on TCP port 110>
C:
Variants§
APOP
AUTH(AuthResponse)
CAPA(Vec<String>)
DELE
GREET(String)
LIST(ListResponse)
NOOP
PASS(String)
QUIT
RETR(String)
STAT
RSET
TOP(String)
UIDL(UidlResponse)
USER(String)
ERR(String)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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