[][src]Struct actix_http::h1::ClientPayloadCodec

pub struct ClientPayloadCodec { /* fields omitted */ }

HTTP/1 Payload Codec

Methods

impl ClientPayloadCodec[src]

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

Check if last response is keep-alive

pub fn into_message_codec(self) -> ClientCodec[src]

Transform payload codec to a message codec

Trait Implementations

impl Decoder for ClientPayloadCodec[src]

type Item = Option<Bytes>

The type of decoded frames.

type Error = PayloadError

The type of unrecoverable frame decoding errors. Read more

Auto Trait Implementations

impl !RefUnwindSafe for ClientPayloadCodec

impl !Send for ClientPayloadCodec

impl !Sync for ClientPayloadCodec

impl Unpin for ClientPayloadCodec

impl !UnwindSafe for ClientPayloadCodec

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]