Trait GrpcBackend

Source
pub trait GrpcBackend {
    // Required method
    fn for_grpc(self, value: bool) -> Self;
}
Expand description

An extension trait to support gRPC backend definition.

Required Methods§

Source

fn for_grpc(self, value: bool) -> Self

Set whether or not this backend will be used for gRPC traffic.

Warning: Setting this for backends that will not be used with gRPC may have unpredictable effects. Fastly only currently guarantees that this connection will work for gRPC traffic.

§Stability

This is part of an experimental API that is subject to change or removal even in minor versions of this crate.

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.

Implementors§