Struct protobuf::reflect::MethodDescriptor
source · pub struct MethodDescriptor { /* private fields */ }
Expand description
Service method descriptor.
Implementations§
source§impl MethodDescriptor
impl MethodDescriptor
sourcepub fn proto(&self) -> &MethodDescriptorProto
pub fn proto(&self) -> &MethodDescriptorProto
Proto snippet describing this method.
sourcepub fn input_type(&self) -> MessageDescriptor
pub fn input_type(&self) -> MessageDescriptor
Method input type.
sourcepub fn output_type(&self) -> MessageDescriptor
pub fn output_type(&self) -> MessageDescriptor
Method output type.
Auto Trait Implementations§
impl !RefUnwindSafe for MethodDescriptor
impl Send for MethodDescriptor
impl Sync for MethodDescriptor
impl Unpin for MethodDescriptor
impl !UnwindSafe for MethodDescriptor
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