Enum twilio_async::header::ConnectionOption [−][src]
Values that can be in the Connection header.
Variants
KeepAliveThe keep-alive connection value.
CloseThe 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
impl PartialEq<ConnectionOption> for ConnectionOption[src]
impl PartialEq<ConnectionOption> for ConnectionOptionfn eq(&self, other: &ConnectionOption) -> bool[src]
fn eq(&self, other: &ConnectionOption) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ConnectionOption) -> bool[src]
fn ne(&self, other: &ConnectionOption) -> boolThis method tests for !=.
impl Clone for ConnectionOption[src]
impl Clone for ConnectionOptionfn clone(&self) -> ConnectionOption[src]
fn clone(&self) -> ConnectionOptionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl FromStr for ConnectionOption[src]
impl FromStr for ConnectionOptiontype Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<ConnectionOption, ()>[src]
fn from_str(s: &str) -> Result<ConnectionOption, ()>Parses a string s to return a value of this type. Read more
impl Debug for ConnectionOption[src]
impl Debug for ConnectionOptionfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Display for ConnectionOption[src]
impl Display for ConnectionOptionAuto Trait Implementations
impl Send for ConnectionOption
impl Send for ConnectionOptionimpl Sync for ConnectionOption
impl Sync for ConnectionOption