[][src]Struct condure::zhttppacket::RequestData

pub struct RequestData<'buf, 'headers> {
    pub credits: u32,
    pub more: bool,
    pub stream: bool,
    pub max_size: u32,
    pub timeout: u32,
    pub method: &'buf str,
    pub uri: &'buf str,
    pub headers: &'headers [Header<'buf>],
    pub content_type: Option<ContentType>,
    pub body: &'buf [u8],
    pub peer_address: &'buf str,
    pub peer_port: u16,
}

Fields

credits: u32more: boolstream: boolmax_size: u32timeout: u32method: &'buf struri: &'buf strheaders: &'headers [Header<'buf>]content_type: Option<ContentType>body: &'buf [u8]peer_address: &'buf strpeer_port: u16

Implementations

impl<'_, '_> RequestData<'_, '_>[src]

pub fn new() -> Self[src]

Auto Trait Implementations

impl<'buf, 'headers> RefUnwindSafe for RequestData<'buf, 'headers>

impl<'buf, 'headers> Send for RequestData<'buf, 'headers>

impl<'buf, 'headers> Sync for RequestData<'buf, 'headers>

impl<'buf, 'headers> Unpin for RequestData<'buf, 'headers> where
    'buf: 'headers, 

impl<'buf, 'headers> UnwindSafe for RequestData<'buf, 'headers>

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.