Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 11 of 11) sorted by relevance

/tonic/tonic/src/transport/server/
H A Dunix.rs25 peer_addr: self.peer_addr().ok().map(Arc::new), in connect_info()
26 peer_cred: self.peer_cred().ok(), in connect_info()
H A Dconn.rs93 local_addr: self.local_addr().ok(), in connect_info()
94 remote_addr: self.peer_addr().ok(), in connect_info()
/tonic/tests/stream_conflict/proto/
H A Dstream_conflict.proto5 bool ok = 1; field
/tonic/tonic-types/src/richer_error/
H A Dmod.rs627 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()
/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Dhelloworld.rs120 ok(GreeterServerSvc::new(self.inner.clone())) in call()
/tonic/tonic/src/codec/
H A Dencode.rs295 Status::ok("") in trailers()
H A Dcompression.rs117 let header_value_str = header_value.to_str().ok()?; in from_accept_encoding_header()
/tonic/tonic-web/src/
H A Dcall.rs34 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()
/tonic/tonic/src/server/
H A Dgrpc.rs489 .ok() in compression_override_from_response()
/tonic/interop/src/
H A Dclient.rs132 .filter_map(|m| m.ok()) in server_streaming()
/tonic/tonic/src/
H A Dstatus.rs173 pub fn ok(message: impl Into<String>) -> Status { in ok() method
970 assert_eq!(Status::ok("").code(), Code::Ok); in constructors()