Trait actix::io::WriteHandler
source · pub trait WriteHandler<E>{
// Provided methods
fn error(&mut self, err: E, ctx: &mut Self::Context) -> Running { ... }
fn finished(&mut self, ctx: &mut Self::Context) { ... }
}
Expand description
A helper trait for write handling.
WriteHandler
is a helper for AsyncWrite
types. Implementation
of this trait is required for Writer
and FramedWrite
support.
Provided Methods§
Object Safety§
This trait is not object safe.