Home
last modified time | relevance | path

Searched refs:to_str (Results 1 – 9 of 9) sorted by relevance

/tonic/tests/web/tests/
H A Dgrpc_web.rs30 let content_type = content_type.to_str().unwrap(); in binary_request()
53 let content_type = content_type.to_str().unwrap(); in text_request()
/tonic/codegen/src/
H A Dmain.rs102 .to_str() in codegen()
/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()
584 assert_eq!(status.to_str().unwrap(), "0") in find_trailers_buffered()
/tonic/tonic/src/transport/service/
H A Dgrpc_timeout.rs111 .to_str() in try_parse_grpc_timeout()
/tonic/tests/integration_tests/tests/
H A Dstatus.rs124 metadata.get(ASCII_NAME).unwrap().to_str().unwrap(), in status_with_metadata()
/tonic/tonic/src/metadata/
H A Dvalue.rs432 pub fn to_str(&self) -> Result<&str, ToStrError> { in to_str() method
433 self.inner.to_str().map_err(|_| ToStrError::new()) in to_str()
H A Dmap.rs2529 .to_str() in test_to_headers_encoding()
/tonic/tonic/src/codec/
H A Dcompression.rs117 let header_value_str = header_value.to_str().ok()?; in from_accept_encoding_header()
/tonic/tests/compression/src/
H A Dcompressing_response.rs47 .to_str() in client_enabled_server_enabled()