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
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
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