pub trait Transport:
Send
+ Sync
+ 'static {
// Required method
fn send(
&self,
request: PushRequest,
) -> Pin<Box<dyn Future<Output = Sent> + Send + '_>>;
}Expand description
Sends one push request. The collector’s sends through the egress client
(PublicOnly); never one that reaches a private address.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Transport for EgressClient
The egress client sends a push as any other request (kernel spec §7.1): its policy refuses a non-public address before anything is sent, and an error never carries the endpoint.