Enum mailin_embedded::Action
source · pub enum Action {
Close,
UpgradeTls,
NoReply,
Reply,
}
Expand description
Action indicates the recommended action to take on a response
Variants§
Close
Send the response and close the connection
UpgradeTls
Upgrade the connection to use TLS
NoReply
Do not reply, wait for the client to send more data
Reply
Send a reply and keep the connection open
Trait Implementations§
source§impl PartialEq for Action
impl PartialEq for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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