pub trait ZebraService<Request, Response, Err = BoxError>:
Service<Request, Response = Response, Error = Err, Future: Send + 'static>
+ Clone
+ Send
+ Sync
+ 'static { }Expand description
A supertrait for Zebra services.
It adds common bounds like Clone, Send, and Sync,
and uses BoxError as the default error type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.