pub struct Pop3Config { /* private fields */ }
Implementations§
Source§impl Pop3Config
impl Pop3Config
Sourcepub fn leave_messages_on_server(&self) -> &bool
pub fn leave_messages_on_server(&self) -> &bool
If the server should leave all of the read messages on the server after the client quits the connection.
pub fn download_on_biff(&self) -> Option<&bool>
Sourcepub fn time_to_leave_messages_on_server(&self) -> Option<Duration>
pub fn time_to_leave_messages_on_server(&self) -> Option<Duration>
How long the Pop messages will be stored on the server.
Sourcepub fn check_interval(&self) -> Option<Duration>
pub fn check_interval(&self) -> Option<Duration>
The interval in which the server will allow a check for new messages. Not supported on all servers.
Trait Implementations§
Source§impl Debug for Pop3Config
impl Debug for Pop3Config
Source§impl<'de> Deserialize<'de> for Pop3Config
impl<'de> Deserialize<'de> for Pop3Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Pop3Config
impl RefUnwindSafe for Pop3Config
impl Send for Pop3Config
impl Sync for Pop3Config
impl Unpin for Pop3Config
impl UnwindSafe for Pop3Config
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> 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 more