| /tonic/tonic/src/transport/channel/service/ |
| H A D | executor.rs | 9 inner: Arc<dyn Executor<BoxFuture<'static, ()>> + Send + Sync + 'static>, 15 E: Executor<BoxFuture<'static, ()>> + Send + Sync + 'static, in new()
|
| /tonic/tonic/src/client/ |
| H A D | grpc.rs | 218 M1: Send + Sync + 'static, in unary() 219 M2: Send + Sync + 'static, in unary() 238 M1: Send + Sync + 'static, in client_streaming() 239 M2: Send + Sync + 'static, in client_streaming() 274 M1: Send + Sync + 'static, in server_streaming() 275 M2: Send + Sync + 'static, in server_streaming() 294 M1: Send + Sync + 'static, in streaming() 295 M2: Send + Sync + 'static, in streaming()
|
| /tonic/tonic/src/service/ |
| H A D | router.rs | 32 + Sync in add_service() 64 + Sync in new() 84 + Sync in add_service()
|
| /tonic/tonic-web/src/ |
| H A D | lib.rs | 83 type BoxError = Box<dyn std::error::Error + Send + Sync>;
|
| /tonic/tonic/src/ |
| H A D | codegen.rs | 11 pub type StdError = Box<dyn std::error::Error + Send + Sync + 'static>;
|
| H A D | lib.rs | 127 pub(crate) type BoxError = Box<dyn std::error::Error + Send + Sync>;
|
| H A D | status.rs | 50 source: Option<Arc<dyn Error + Send + Sync + 'static>>, 309 err: impl Into<Box<dyn Error + Send + Sync + 'static>>, in from_error_generic() 318 pub fn from_error(err: Box<dyn Error + Send + Sync + 'static>) -> Status { in from_error() 334 err: Box<dyn Error + Send + Sync + 'static>, in try_from_error() 335 ) -> Result<Status, Box<dyn Error + Send + Sync + 'static>> { in try_from_error() 434 E: Into<Box<dyn Error + Send + Sync>>, in map_error() argument 436 let err: Box<dyn Error + Send + Sync> = err.into(); in map_error() 572 pub fn set_source(&mut self, source: Arc<dyn Error + Send + Sync + 'static>) -> &mut Status { in set_source() 1038 pub struct ConnectError(pub Box<dyn std::error::Error + Send + Sync>);
|
| /tonic/tests/integration_tests/tests/ |
| H A D | origin.rs | 88 T::Error: Into<Box<dyn std::error::Error + Send + Sync>>, 91 type Error = Box<dyn std::error::Error + Send + Sync>;
|
| /tonic/examples/src/blocking/ |
| H A D | client.rs | 9 type StdError = Box<dyn std::error::Error + Send + Sync + 'static>;
|
| /tonic/tonic/src/transport/server/ |
| H A D | mod.rs | 76 type TraceInterceptor = Arc<dyn Fn(&http::Request<()>) -> tracing::Span + Send + Sync + 'static>; 388 F: Fn(&http::Request<()>) -> tracing::Span + Send + Sync + 'static, in trace_fn() 407 + Sync in add_service() 431 + Sync in add_optional_service() 776 B::Error: Into<Box<dyn std::error::Error + Send + Sync>> + Send + Sync, in serve_connection() argument 780 S::Error: Into<Box<dyn std::error::Error + Send + Sync>> + Send, in serve_connection() 781 E: HttpServerConnExec<S::Future, B> + Send + Sync + 'static, in serve_connection() 841 + Sync in add_service() 861 + Sync in add_optional_service()
|
| H A D | conn.rs | 54 type ConnectInfo: Clone + Send + Sync + 'static;
|
| /tonic/tonic/src/transport/ |
| H A D | error.rs | 3 type Source = Box<dyn StdError + Send + Sync + 'static>;
|
| /tonic/examples/src/tower/ |
| H A D | client.rs | 62 type Error = Box<dyn std::error::Error + Send + Sync>;
|
| /tonic/tonic/src/transport/channel/ |
| H A D | mod.rs | 140 E: Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync + 'static, in balance_channel_with_executor() 195 E: Executor<BoxFuture<'static, ()>> + Send + Sync + 'static, in balance()
|
| H A D | endpoint.rs | 315 E: Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync + 'static, in executor()
|
| /tonic/examples/src/h2c/ |
| H A D | server.rs | 80 type BoxError = Box<dyn std::error::Error + Send + Sync>;
|
| /tonic/tonic-health/src/generated/ |
| H A D | grpc_health_v1.rs | 103 >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync, in with_interceptor() argument 217 pub trait Health: std::marker::Send + std::marker::Sync + 'static {
|
| /tonic/tonic-reflection/src/generated/ |
| H A D | grpc_reflection_v1.rs | 192 >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync, in with_interceptor() argument 274 pub trait ServerReflection: std::marker::Send + std::marker::Sync + 'static {
|
| H A D | grpc_reflection_v1alpha.rs | 192 >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync, in with_interceptor() argument 274 pub trait ServerReflection: std::marker::Send + std::marker::Sync + 'static {
|
| /tonic/tonic/benches-disabled/benchmarks/compiled_protos/ |
| H A D | helloworld.rs | 78 pub trait Greeter: Send + Sync + 'static {
|
| /tonic/tonic-build/src/ |
| H A D | client.rs | 93 …<http::Request<tonic::body::Body>>>::Error: Into<StdError> + std::marker::Send + std::marker::Sync, in generate_internal()
|
| H A D | server.rs | 224 pub trait #server_trait : std::marker::Send + std::marker::Sync + 'static { in generate_trait()
|
| /tonic/ |
| H A D | CHANGELOG.md | 331 * **tonic:** Remove `Sync` requirement for streams ([#804](https://github.com/hyperium/tonic/issues… 387 * **metadata:** remove manual `Send + Sync` impls for metadata types ([#640](https://github.com/hyp… 652 * **codec:** Enforce encoders/decoders are `Sync` ([#84](https://github.com/hyperium/tonic/issues/8…
|
| /tonic/tonic/src/metadata/ |
| H A D | map.rs | 2735 fn is_send_sync<T: Send + Sync>() {} in value_drain_is_send_sync() argument
|