Trait ClientStreamingService
pub trait ClientStreamingService<R>:
Send
+ Sync
+ 'static {
type Response;
// Required method
fn serve(
&self,
request: Request<Streaming<R>>,
) -> impl Future<Output = Result<Response<Self::Response>, Status>>;
}Available on crate features
http and grpc only.Expand description
Required Associated Types§
type Response
type Response
Protobuf response message type
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.