Struct tonic_reflection::server::Builder [−][src]
pub struct Builder<'b> { /* fields omitted */ }Expand description
A builder used to construct a gRPC Reflection Service.
Implementations
Registers an instance of prost_types::FileDescriptorSet with the gRPC Reflection
Service builder.
pub fn register_encoded_file_descriptor_set(
self,
encoded_file_descriptor_set: &'b [u8]
) -> Self
pub fn register_encoded_file_descriptor_set(
self,
encoded_file_descriptor_set: &'b [u8]
) -> SelfRegisters a byte slice containing an encoded prost_types::FileDescriptorSet with
the gRPC Reflection Service builder.
Serve the gRPC Reflection Service descriptor via the Reflection Service. This is enabled
by default - set include to false to disable.
Trait Implementations
Auto Trait Implementations
impl<'b> RefUnwindSafe for Builder<'b>impl<'b> UnwindSafe for Builder<'b>