Trait actix::io::WriteHandler
source · pub trait WriteHandler<E>where
Self: Actor,
Self::Context: ActorContext,{
fn error(&mut self, err: E, ctx: &mut Self::Context) -> Running { ... }
fn finished(&mut self, ctx: &mut Self::Context) { ... }
}
Expand description
Write handler
WriteHandler
is a helper for AsyncWrite
types. Implementation
of this trait is required for Writer
and FramedWrite
support.