Enum mailin::DataResult
source · Expand description
DataResult
is the result of an smtp DATA command
Variants
Ok(Box<dyn Write>)
Message accepted, write bytes to Writer
InternalError
Internal server error
TransactionFailed
Transaction failed
NoService
Trait Implementations
sourceimpl From<DataResult> for Response
impl From<DataResult> for Response
sourcefn from(v: DataResult) -> Response
fn from(v: DataResult) -> Response
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for DataResult
impl !Send for DataResult
impl !Sync for DataResult
impl Unpin for DataResult
impl !UnwindSafe for DataResult
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