pub struct Grpc<T: Message> {
pub encoding: Encoding,
pub content_type: GrpcContentType,
pub body: T,
}Fields§
§encoding: Encoding§content_type: GrpcContentType§body: TTrait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Grpc<T>where T: RefUnwindSafe,
impl<T> Send for Grpc<T>
impl<T> Sync for Grpc<T>
impl<T> Unpin for Grpc<T>where T: Unpin,
impl<T> UnwindSafe for Grpc<T>where T: UnwindSafe,
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