#[repr(u8)]pub enum ProtoStatus {
Complete = 0,
CantMpxCon = 1,
Overloaded = 2,
UnknownRole = 3,
}
Expand description
protocol_status component of EndRequestBody
Variants§
Complete = 0
Normal end of request
CantMpxCon = 1
Application is designed to process one request at a time per connection
Overloaded = 2
The application runs out of some resource, e.g. database connections
UnknownRole = 3
Web server has specified a role that is unknown to the application
Trait Implementations§
Source§impl Display for ProtoStatus
impl Display for ProtoStatus
Auto Trait Implementations§
impl Freeze for ProtoStatus
impl RefUnwindSafe for ProtoStatus
impl Send for ProtoStatus
impl Sync for ProtoStatus
impl Unpin for ProtoStatus
impl UnwindSafe for ProtoStatus
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