Enum mailin::HeloResult
source · pub enum HeloResult {
Ok,
BadHelo,
}
Expand description
HeloResult
is the result of an smtp HELO or EHLO command
Variants
Ok
Helo successful
BadHelo
Return to indicate that Helo verification failed
Trait Implementations
sourceimpl From<HeloResult> for Response
impl From<HeloResult> for Response
sourcefn from(v: HeloResult) -> Response
fn from(v: HeloResult) -> Response
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for HeloResult
impl Send for HeloResult
impl Sync for HeloResult
impl Unpin for HeloResult
impl UnwindSafe for HeloResult
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