[−][src]Struct grpc::ServerRequestSingle
Unary request.
This object is passed to unary request handlers.
Fields
metadata: MetadataRequest metadata.
message: ReqThe message.
Methods
impl<Req> ServerRequestSingle<Req>[src]
pub fn take_message(&mut self) -> Req where
Req: Default, [src]
Req: Default,
Auto Trait Implementations
impl<Req> RefUnwindSafe for ServerRequestSingle<Req> where
Req: RefUnwindSafe,
Req: RefUnwindSafe,
impl<Req> Send for ServerRequestSingle<Req> where
Req: Send,
Req: Send,
impl<Req> Sync for ServerRequestSingle<Req> where
Req: Sync,
Req: Sync,
impl<Req> Unpin for ServerRequestSingle<Req> where
Req: Unpin,
Req: Unpin,
impl<Req> UnwindSafe for ServerRequestSingle<Req> where
Req: UnwindSafe,
Req: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,