Struct actix_web::actix::actix::io::Writer[]

pub struct Writer<T, E> where
    E: From<Error>,
    T: AsyncWrite
{ /* fields omitted */ }

Wrapper for AsyncWrite types

Methods

impl<T, E> Writer<T, E> where
    E: 'static + From<Error>,
    T: AsyncWrite

Gracefully close sink

Close process is asynchronous.

Check if sink is closed

Set write buffer capacity

Send item to a sink.

SpawnHandle for this writer

Auto Trait Implementations

impl<T, E> !Send for Writer<T, E>

impl<T, E> !Sync for Writer<T, E>