pub trait FipsEndpointDirectSink:
Send
+ Sync
+ 'static {
// Required method
fn deliver_endpoint_packet_batch(
&self,
batch: FipsEndpointDirectPacketBatch,
) -> Result<(), FipsEndpointDirectDeliveryError>;
}Expand description
Application-provided direct PM2 endpoint delivery sink.
This sink is called synchronously from the PM2 output path with owned packet buffers. It should return quickly and avoid blocking unrelated PM2 progress.
Required Methods§
Sourcefn deliver_endpoint_packet_batch(
&self,
batch: FipsEndpointDirectPacketBatch,
) -> Result<(), FipsEndpointDirectDeliveryError>
fn deliver_endpoint_packet_batch( &self, batch: FipsEndpointDirectPacketBatch, ) -> Result<(), FipsEndpointDirectDeliveryError>
Deliver established endpoint data as authenticated packet runs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".