Home
last modified time | relevance | path

Searched refs:Sync (Results 1 – 24 of 24) sorted by relevance

/tonic/tonic/src/transport/channel/service/
H A Dexecutor.rs9 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 Dgrpc.rs218 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 Drouter.rs32 + Sync in add_service()
64 + Sync in new()
84 + Sync in add_service()
/tonic/tonic-web/src/
H A Dlib.rs83 type BoxError = Box<dyn std::error::Error + Send + Sync>;
/tonic/tonic/src/
H A Dcodegen.rs11 pub type StdError = Box<dyn std::error::Error + Send + Sync + 'static>;
H A Dlib.rs127 pub(crate) type BoxError = Box<dyn std::error::Error + Send + Sync>;
H A Dstatus.rs50 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 Dorigin.rs88 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 Dclient.rs9 type StdError = Box<dyn std::error::Error + Send + Sync + 'static>;
/tonic/tonic/src/transport/server/
H A Dmod.rs76 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 Dconn.rs54 type ConnectInfo: Clone + Send + Sync + 'static;
/tonic/tonic/src/transport/
H A Derror.rs3 type Source = Box<dyn StdError + Send + Sync + 'static>;
/tonic/examples/src/tower/
H A Dclient.rs62 type Error = Box<dyn std::error::Error + Send + Sync>;
/tonic/tonic/src/transport/channel/
H A Dmod.rs140 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 Dendpoint.rs315 E: Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync + 'static, in executor()
/tonic/examples/src/h2c/
H A Dserver.rs80 type BoxError = Box<dyn std::error::Error + Send + Sync>;
/tonic/tonic-health/src/generated/
H A Dgrpc_health_v1.rs103 >>::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 Dgrpc_reflection_v1.rs192 >>::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 Dgrpc_reflection_v1alpha.rs192 >>::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 Dhelloworld.rs78 pub trait Greeter: Send + Sync + 'static {
/tonic/tonic-build/src/
H A Dclient.rs93 …<http::Request<tonic::body::Body>>>::Error: Into<StdError> + std::marker::Send + std::marker::Sync, in generate_internal()
H A Dserver.rs224 pub trait #server_trait : std::marker::Send + std::marker::Sync + 'static { in generate_trait()
/tonic/
H A DCHANGELOG.md331 * **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 Dmap.rs2735 fn is_send_sync<T: Send + Sync>() {} in value_drain_is_send_sync() argument