pub struct Reflection { /* private fields */ }Expand description
A builder for creating reflection service
Implementations§
Source§impl Reflection
impl Reflection
Sourcepub fn add_file_descriptor_set(self, data: &[u8]) -> Self
pub fn add_file_descriptor_set(self, data: &[u8]) -> Self
Add a file descriptor set
Sourcepub fn build(
self,
) -> impl IntoEndpoint<Endpoint = BoxEndpoint<'static, Response>> + Service
pub fn build( self, ) -> impl IntoEndpoint<Endpoint = BoxEndpoint<'static, Response>> + Service
Build a reflection service
Trait Implementations§
Source§impl Debug for Reflection
impl Debug for Reflection
Source§impl Default for Reflection
impl Default for Reflection
Source§fn default() -> Reflection
fn default() -> Reflection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Reflection
impl RefUnwindSafe for Reflection
impl Send for Reflection
impl Sync for Reflection
impl Unpin for Reflection
impl UnwindSafe for Reflection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more