Enum saphir::header::ConnectionOption
source · Expand description
Values that can be in the Connection
header.
Variants
KeepAlive
The keep-alive
connection value.
Close
The close
connection value.
ConnectionHeader(Ascii<String>)
Values in the Connection header that are supposed to be names of other Headers.
When a header field aside from Connection is used to supply control information for or about the current connection, the sender MUST list the corresponding field-name within the Connection header field.
Trait Implementations
sourceimpl Clone for ConnectionOption
impl Clone for ConnectionOption
sourcefn clone(&self) -> ConnectionOption
fn clone(&self) -> ConnectionOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConnectionOption
impl Debug for ConnectionOption
sourceimpl Display for ConnectionOption
impl Display for ConnectionOption
sourceimpl FromStr for ConnectionOption
impl FromStr for ConnectionOption
sourceimpl PartialEq<ConnectionOption> for ConnectionOption
impl PartialEq<ConnectionOption> for ConnectionOption
sourcefn eq(&self, other: &ConnectionOption) -> bool
fn eq(&self, other: &ConnectionOption) -> bool
impl StructuralPartialEq for ConnectionOption
Auto Trait Implementations
impl RefUnwindSafe for ConnectionOption
impl Send for ConnectionOption
impl Sync for ConnectionOption
impl Unpin for ConnectionOption
impl UnwindSafe for ConnectionOption
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