pub trait HttpResponseBuilderExt: Sealed {
    fn event(self, event: Event) -> Result<HttpResponse, Error>;
}
Available on crate feature actix only.
Expand description

Extension Trait for HttpResponseBuilder which acts as a wrapper for the function event_to_response().

This trait is sealed and cannot be implemented for types outside of this crate.

Required Methods

Fill this HttpResponseBuilder with an Event.

Implementations on Foreign Types

Implementors