[][src]Struct drogue_http_client::BufferResponseHandler

pub struct BufferResponseHandler<N, NR = U128> where
    N: ArrayLength<u8>,
    NR: ArrayLength<u8>, 
{ /* fields omitted */ }

A response handler, that will buffer all data.

Implementations

impl<N> BufferResponseHandler<N> where
    N: ArrayLength<u8>, 
[src]

pub fn new() -> Self[src]

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

pub fn code(&self) -> u16[src]

pub fn version(&self) -> u8[src]

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

pub fn payload(&self) -> &[u8][src]

Trait Implementations

impl<N> ResponseHandler for BufferResponseHandler<N> where
    N: ArrayLength<u8>, 
[src]

Auto Trait Implementations

impl<N, NR> RefUnwindSafe for BufferResponseHandler<N, NR> where
    <N as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
    <NR as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<N, NR> Send for BufferResponseHandler<N, NR>

impl<N, NR> Sync for BufferResponseHandler<N, NR>

impl<N, NR> Unpin for BufferResponseHandler<N, NR> where
    <N as ArrayLength<u8>>::ArrayType: Unpin,
    <NR as ArrayLength<u8>>::ArrayType: Unpin

impl<N, NR> UnwindSafe for BufferResponseHandler<N, NR> where
    <N as ArrayLength<u8>>::ArrayType: UnwindSafe,
    <NR as ArrayLength<u8>>::ArrayType: UnwindSafe

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> Same<T> for T

type Output = T

Should always be Self

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.