pub enum StatusCodeRange {
Invalid,
ProtocolReserved,
LibraryDefined,
ApplicationDefined,
OutOfRange,
}Expand description
Spec §7.4 Status-Code-Range-Klassifikation.
Variants§
Invalid
0..=999 — verboten (nicht assigned).
ProtocolReserved
1000..=2999 — Protocol-reserved (is_protocol_assigned-Subset).
Nicht-assigned-Werte in diesem Range sind invalid.
LibraryDefined
3000..=3999 — Library/Framework-defined.
ApplicationDefined
4000..=4999 — Application-defined.
OutOfRange
5000+ — verboten.
Trait Implementations§
Source§impl Clone for StatusCodeRange
impl Clone for StatusCodeRange
Source§fn clone(&self) -> StatusCodeRange
fn clone(&self) -> StatusCodeRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatusCodeRange
impl Debug for StatusCodeRange
Source§impl PartialEq for StatusCodeRange
impl PartialEq for StatusCodeRange
Source§fn eq(&self, other: &StatusCodeRange) -> bool
fn eq(&self, other: &StatusCodeRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StatusCodeRange
impl Eq for StatusCodeRange
impl StructuralPartialEq for StatusCodeRange
Auto Trait Implementations§
impl Freeze for StatusCodeRange
impl RefUnwindSafe for StatusCodeRange
impl Send for StatusCodeRange
impl Sync for StatusCodeRange
impl Unpin for StatusCodeRange
impl UnsafeUnpin for StatusCodeRange
impl UnwindSafe for StatusCodeRange
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