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 dataplane endpoint delivery sink.

This sink is called synchronously from the dataplane output path with owned packet buffers. It should return quickly and avoid blocking unrelated dataplane 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§