pub struct GetResult {
pub metadata: Metadata,
pub stream: ClientStream,
}Expand description
The result from a successful get() call.
This carries the response as a stream, plus the compression algorithm of the data.
Fields§
§metadata: MetadataThe metadata attached to this object, including the compression algorithm used for the payload.
stream: ClientStreamThe response stream.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetResult
impl !RefUnwindSafe for GetResult
impl Send for GetResult
impl !Sync for GetResult
impl Unpin for GetResult
impl !UnwindSafe for GetResult
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