[−][src]Struct condure::zhttppacket::Request
Fields
from: &'buf [u8]
ids: &'ids [Id<'buf>]
multi: bool
ptype: RequestPacket<'buf, 'headers>
Implementations
impl<'buf, 'ids, 'headers> Request<'buf, 'ids, 'headers>
[src]
pub fn new_data(
from: &'buf [u8],
ids: &'ids [Id<'buf>],
data: RequestData<'buf, 'headers>
) -> Self
[src]
from: &'buf [u8],
ids: &'ids [Id<'buf>],
data: RequestData<'buf, 'headers>
) -> Self
pub fn new_error(
from: &'buf [u8],
ids: &'ids [Id<'buf>],
condition: &'buf str
) -> Self
[src]
from: &'buf [u8],
ids: &'ids [Id<'buf>],
condition: &'buf str
) -> Self
pub fn new_credit(from: &'buf [u8], ids: &'ids [Id<'buf>], credits: u32) -> Self
[src]
pub fn new_keep_alive(from: &'buf [u8], ids: &'ids [Id<'buf>]) -> Self
[src]
pub fn new_cancel(from: &'buf [u8], ids: &'ids [Id<'buf>]) -> Self
[src]
pub fn new_handoff_start(from: &'buf [u8], ids: &'ids [Id<'buf>]) -> Self
[src]
pub fn new_handoff_proceed(from: &'buf [u8], ids: &'ids [Id<'buf>]) -> Self
[src]
pub fn new_close(
from: &'buf [u8],
ids: &'ids [Id<'buf>],
status: Option<(u16, &'buf str)>
) -> Self
[src]
from: &'buf [u8],
ids: &'ids [Id<'buf>],
status: Option<(u16, &'buf str)>
) -> Self
pub fn new_ping(
from: &'buf [u8],
ids: &'ids [Id<'buf>],
body: &'buf [u8]
) -> Self
[src]
from: &'buf [u8],
ids: &'ids [Id<'buf>],
body: &'buf [u8]
) -> Self
pub fn new_pong(
from: &'buf [u8],
ids: &'ids [Id<'buf>],
body: &'buf [u8]
) -> Self
[src]
from: &'buf [u8],
ids: &'ids [Id<'buf>],
body: &'buf [u8]
) -> Self
pub fn serialize(&self, dest: &mut [u8]) -> Result<usize, Error>
[src]
Auto Trait Implementations
impl<'buf, 'ids, 'headers> RefUnwindSafe for Request<'buf, 'ids, 'headers>
impl<'buf, 'ids, 'headers> Send for Request<'buf, 'ids, 'headers>
impl<'buf, 'ids, 'headers> Sync for Request<'buf, 'ids, 'headers>
impl<'buf, 'ids, 'headers> Unpin for Request<'buf, 'ids, 'headers> where
'buf: 'ids + 'headers,
'buf: 'ids + 'headers,
impl<'buf, 'ids, 'headers> UnwindSafe for Request<'buf, 'ids, 'headers>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,