Enum async_h1::server::ConnectionStatus
source · pub enum ConnectionStatus {
Close,
KeepAlive,
}
Expand description
An enum that represents whether the server should accept a subsequent request
Variants§
Trait Implementations§
source§impl Clone for ConnectionStatus
impl Clone for ConnectionStatus
source§fn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectionStatus
impl Debug for ConnectionStatus
source§impl PartialEq for ConnectionStatus
impl PartialEq for ConnectionStatus
source§fn eq(&self, other: &ConnectionStatus) -> bool
fn eq(&self, other: &ConnectionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConnectionStatus
impl Eq for ConnectionStatus
impl StructuralEq for ConnectionStatus
impl StructuralPartialEq for ConnectionStatus
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionStatus
impl Send for ConnectionStatus
impl Sync for ConnectionStatus
impl Unpin for ConnectionStatus
impl UnwindSafe for ConnectionStatus
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