pub struct GrpcStreamMessage { /* private fields */ }
Expand description
Response type for GrpcStream::on_message
Implementations§
Source§impl GrpcStreamMessage
impl GrpcStreamMessage
Sourcepub fn status_code(&self) -> GrpcCode
pub fn status_code(&self) -> GrpcCode
GRPC status code of the message
Sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
Optional GRPC status message of the message
Auto Trait Implementations§
impl Freeze for GrpcStreamMessage
impl RefUnwindSafe for GrpcStreamMessage
impl Send for GrpcStreamMessage
impl Sync for GrpcStreamMessage
impl Unpin for GrpcStreamMessage
impl UnwindSafe for GrpcStreamMessage
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