Struct grpc::rt::MethodDescriptor
source · pub struct MethodDescriptor<Req, Resp> {
pub name: String,
pub streaming: GrpcStreaming,
pub req_marshaller: Box<dyn Marshaller<Req> + Sync + Send>,
pub resp_marshaller: Box<dyn Marshaller<Resp> + Sync + Send>,
}
Fields
name: String
streaming: GrpcStreaming
req_marshaller: Box<dyn Marshaller<Req> + Sync + Send>
resp_marshaller: Box<dyn Marshaller<Resp> + Sync + Send>
Auto Trait Implementations
impl<Req, Resp> !RefUnwindSafe for MethodDescriptor<Req, Resp>
impl<Req, Resp> Send for MethodDescriptor<Req, Resp>
impl<Req, Resp> Sync for MethodDescriptor<Req, Resp>
impl<Req, Resp> Unpin for MethodDescriptor<Req, Resp>
impl<Req, Resp> !UnwindSafe for MethodDescriptor<Req, Resp>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more