pub enum Content {
Forbidden,
Suppressed,
Tunnel,
Empty,
Allowed,
}Expand description
Protocol-independent content semantics of a response.
Variants§
Forbidden
Content and body-length framing fields are forbidden.
Suppressed
Content is omitted, but representation length metadata is permitted.
Tunnel
A successful CONNECT establishes a tunnel rather than message content.
Empty
Content must be empty, while empty-message framing is permitted.
Allowed
Implementations§
Trait Implementations§
impl Copy for Content
impl Eq for Content
impl StructuralPartialEq for Content
Auto Trait Implementations§
impl Forget for Content
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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