Searched refs:ok (Results 1 – 11 of 11) sorted by relevance
25 peer_addr: self.peer_addr().ok().map(Arc::new), in connect_info()26 peer_cred: self.peer_cred().ok(), in connect_info()
93 local_addr: self.local_addr().ok(), in connect_info()94 remote_addr: self.peer_addr().ok(), in connect_info()
5 bool ok = 1; field
627 let status = pb::Status::decode(self.details()).ok()?; in get_details_retry_info()633 let status = pb::Status::decode(self.details()).ok()?; in get_details_debug_info()639 let status = pb::Status::decode(self.details()).ok()?; in get_details_quota_failure()645 let status = pb::Status::decode(self.details()).ok()?; in get_details_error_info()651 let status = pb::Status::decode(self.details()).ok()?; in get_details_precondition_failure()657 let status = pb::Status::decode(self.details()).ok()?; in get_details_bad_request()663 let status = pb::Status::decode(self.details()).ok()?; in get_details_request_info()669 let status = pb::Status::decode(self.details()).ok()?; in get_details_resource_info()675 let status = pb::Status::decode(self.details()).ok()?; in get_details_help()681 let status = pb::Status::decode(self.details()).ok()?; in get_details_localized_message()
120 ok(GreeterServerSvc::new(self.inner.clone())) in call()
295 Status::ok("") in trailers()
117 let header_value_str = header_value.to_str().ok()?; in from_accept_encoding_header()
34 headers.get(CONTENT_TYPE).and_then(|val| val.to_str().ok()) in content_type()368 match value.and_then(|val| val.to_str().ok()) { in from_header()
489 .ok() in compression_override_from_response()
132 .filter_map(|m| m.ok()) in server_streaming()
173 pub fn ok(message: impl Into<String>) -> Status { in ok() method970 assert_eq!(Status::ok("").code(), Code::Ok); in constructors()