Struct sozu_lib::parser::http11::Connection [−][src]
pub struct Connection {
pub keep_alive: Option<bool>,
pub has_upgrade: bool,
pub upgrade: Option<String>,
pub to_delete: HashSet<String>,
pub continues: Continue,
pub sticky_session: Option<String>,
}Fields
keep_alive: Option<bool>
has_upgrade: bool
upgrade: Option<String>
to_delete: HashSet<String>
continues: Continue
sticky_session: Option<String>
Methods
impl Connection[src]
impl Connectionpub fn new() -> Connection[src]
pub fn new() -> Connectionpub fn keep_alive() -> Connection[src]
pub fn keep_alive() -> Connectionpub fn close() -> Connection[src]
pub fn close() -> ConnectionTrait Implementations
impl Debug for Connection[src]
impl Debug for Connectionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Connection[src]
impl Clone for Connectionfn clone(&self) -> Connection[src]
fn clone(&self) -> ConnectionReturns 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 PartialEq for Connection[src]
impl PartialEq for Connectionfn eq(&self, other: &Connection) -> bool[src]
fn eq(&self, other: &Connection) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Connection) -> bool[src]
fn ne(&self, other: &Connection) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for Connection
impl Send for Connectionimpl Sync for Connection
impl Sync for Connection