# Trait actix_protobuf::ProtoBufResponseBuilder

source ·

    pub trait ProtoBufResponseBuilder {
        // Required method
        fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>;
    }

## Required Methods§

source

#### fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>

## Object Safety§

This trait is not object safe.

## Implementations on Foreign Types§

source §

### impl ProtoBufResponseBuilder for HttpResponseBuilder

source §

#### fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>

## Implementors§