pub struct GrpcStreamClose { /* private fields */ }
Expand description
Response type for GrpcStream::on_close
Implementations§
Source§impl GrpcStreamClose
impl GrpcStreamClose
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 GrpcStreamClose
impl RefUnwindSafe for GrpcStreamClose
impl Send for GrpcStreamClose
impl Sync for GrpcStreamClose
impl Unpin for GrpcStreamClose
impl UnwindSafe for GrpcStreamClose
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