Skip to main content

FipsEndpointDirectSink

Trait FipsEndpointDirectSink 

Source
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§

Source

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".

Implementors§