Home
last modified time | relevance | path

Searched refs:from_shared (Results 1 – 15 of 15) sorted by relevance

/tonic/tonic/src/metadata/
H A Dencoding.rs29 fn from_shared(value: Bytes) -> Result<HeaderValue, InvalidMetadataValueBytes>; in from_shared() method
89 fn from_shared(value: Bytes) -> Result<HeaderValue, InvalidMetadataValueBytes> { in from_shared() method
136 fn from_shared(value: Bytes) -> Result<HeaderValue, InvalidMetadataValueBytes> { in from_shared() method
H A Dvalue.rs311 VE::from_shared(src).map(|value| MetadataValue { in try_from()
/tonic/tonic/src/transport/channel/
H A Dendpoint.rs82 pub fn from_shared(s: impl Into<Bytes>) -> Result<Self, Error> { in from_shared() method
476 Self::from_shared(t) in try_from()
484 Self::from_shared(t.into_bytes()) in try_from()
492 Self::from_shared(t.as_bytes()) in try_from()
H A Dmod.rs100 pub fn from_shared(s: impl Into<Bytes>) -> Result<Endpoint, InvalidUri> { in from_shared() method
/tonic/tests/integration_tests/tests/
H A Dextensions.rs56 let channel = Endpoint::from_shared(format!("http://{addr}")) in setting_extension_from_interceptor()
105 let channel = Endpoint::from_shared(format!("http://{addr}")) in setting_extension_from_tower()
H A Duser_agent.rs41 let channel = Endpoint::from_shared(format!("http://{addr}")) in writes_user_agent_header()
H A Dinterceptor.rs39 let channel = Endpoint::from_shared(format!("http://{addr}")) in interceptor_retrieves_grpc_method()
H A Dhttp2_max_header_list_size.rs51 let channel = Endpoint::from_shared(addr) in test_http_max_header_list_size_and_long_errors()
H A Dclient_layer.rs42 let channel = Endpoint::from_shared(format!("http://{addr}")) in connect_supports_standard_tower_layers()
H A Dhttp2_keep_alive.rs68 let channel = Channel::from_shared(format!("http://{addr}")) in http2_keepalive_does_not_cause_panics_on_client_side()
H A Dorigin.rs49 let channel = Endpoint::from_shared(format!("http://{addr}")) in writes_origin_header()
H A Droutes_builder.rs74 let channel = Endpoint::from_shared(format!("http://{addr}")) in multiple_service_using_routes_builder()
H A Dconnection.rs99 let channel = Endpoint::from_shared(format!("http://{addr}")) in connect_lazy_reconnects_after_first_failure()
H A Dconnect_info.rs45 let channel = Endpoint::from_shared(format!("http://{addr}")) in getting_connect_info()
/tonic/tonic/benches-disabled/benchmarks/compiled_protos/
H A Dhelloworld.rs101 Self::from_shared(inner) in new()
103 pub fn from_shared(inner: Arc<T>) -> Self { in from_shared() method