Struct luw_req

Source
#[repr(C)]
pub struct luw_req {
Show 25 fields pub method_off: u32, pub method_len: u32, pub version_off: u32, pub version_len: u32, pub path_off: u32, pub path_len: u32, pub query_off: u32, pub query_len: u32, pub remote_off: u32, pub remote_len: u32, pub local_addr_off: u32, pub local_addr_len: u32, pub local_port_off: u32, pub local_port_len: u32, pub server_name_off: u32, pub server_name_len: u32, pub content_len: u64, pub total_content_sent: u64, pub content_sent: u32, pub content_off: u32, pub request_size: u32, pub nr_fields: u32, pub tls: u32, pub __pad: [i8; 4], pub fields: __IncompleteArrayField<luw_hdr_field>,
}

Fields§

§method_off: u32§method_len: u32§version_off: u32§version_len: u32§path_off: u32§path_len: u32§query_off: u32§query_len: u32§remote_off: u32§remote_len: u32§local_addr_off: u32§local_addr_len: u32§local_port_off: u32§local_port_len: u32§server_name_off: u32§server_name_len: u32§content_len: u64§total_content_sent: u64§content_sent: u32§content_off: u32§request_size: u32§nr_fields: u32§tls: u32§__pad: [i8; 4]§fields: __IncompleteArrayField<luw_hdr_field>

Trait Implementations§

Source§

impl Debug for luw_req

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.