[][src]Struct jeep_train_prelude::BearConnection

pub struct BearConnection {
    pub method: Method,
    pub path: String,
    pub path_info: Vec<String>,
    pub req_query: HashMap<String, String>,
    pub req_headers: HashMap<String, String>,
    pub req_body: Body,
    pub resp_config: Mutex<Resp>,
}

Fields

method: Methodpath: Stringpath_info: Vec<String>req_query: HashMap<String, String>req_headers: HashMap<String, String>req_body: Bodyresp_config: Mutex<Resp>

Implementations

impl BearConnection[src]

pub fn method(&self) -> &Method[src]

pub fn path(&self) -> &str[src]

pub fn headers(&self) -> &HashMap<String, String>[src]

pub fn body(&self) -> &Body[src]

pub fn path_info(&self) -> &Vec<String>[src]

pub fn path_info_match(&self) -> Vec<&str>[src]

pub fn mut_resp(&self) -> MutexGuard<Resp>[src]

pub fn halt(&self) -> bool[src]

Trait Implementations

impl Default for BearConnection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.