Lines Matching refs:RpcStatus
157 pub struct RpcStatus { struct
165 impl Display for RpcStatus { argument
171 impl RpcStatus { impl
173 pub fn new<T: Into<RpcStatusCode>>(code: T, details: Option<String>) -> RpcStatus { in new() argument
174 RpcStatus { in new()
181 pub fn ok() -> RpcStatus { in ok()
182 RpcStatus::new(RpcStatusCode::OK, None) in ok()
214 pub fn rpc_status(&self) -> RpcStatus { in rpc_status() argument
233 RpcStatus::new(status, details) in rpc_status()
347 status: &RpcStatus, in start_send_status_from_server() argument
381 pub fn abort(self, status: &RpcStatus) { in abort() argument
448 status: Option<RpcStatus>,
467 self.status = Some(RpcStatus::ok()); in poll_finish()