Enum mailin::AuthResult
source · pub enum AuthResult {
Ok,
TemporaryFailure,
InvalidCredentials,
}
Expand description
AuthResult
is the result of authenticating a smtp session
Variants
Ok
Authentication successful
TemporaryFailure
Temporary authentication failure
InvalidCredentials
Invalid or insufficient credentials
Trait Implementations
sourceimpl From<AuthResult> for Response
impl From<AuthResult> for Response
sourcefn from(v: AuthResult) -> Response
fn from(v: AuthResult) -> Response
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AuthResult
impl Send for AuthResult
impl Sync for AuthResult
impl Unpin for AuthResult
impl UnwindSafe for AuthResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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