Struct actix_protobuf::ProtoBuf [−][src]
pub struct ProtoBuf<T: Message>(pub T);
Trait Implementations
type Config = ProtoBufConfig
type Config = ProtoBufConfig
Configuration for this extractor.
type Error = Error
type Error = Error
The associated error which can be returned.
Create a Self from request parts asynchronously.
Convert self to HttpResponse
.
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
fn with_status(self, status: StatusCode) -> CustomResponder<Self>
Override a status code for a Responder. Read more
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
fn with_header<H>(self, header: H) -> CustomResponder<Self> where
H: IntoHeaderPair,
Insert header to the final response. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for ProtoBuf<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for ProtoBuf<T> where
T: UnwindSafe,