Skip to main content

PacketBatchSendExt

Trait PacketBatchSendExt 

Source
pub trait PacketBatchSendExt {
    // Required methods
    fn batch_send(
        &self,
        options: impl Into<BatchSend>,
    ) -> Result<BatchSendReport>;
    fn batch_send_dry_run(
        &self,
        options: impl Into<BatchSend>,
    ) -> Result<BatchSendReport>;
}
Expand description

Extension methods for sending packet collections.

Required Methods§

Source

fn batch_send(&self, options: impl Into<BatchSend>) -> Result<BatchSendReport>

Send every packet and return reports aligned with the request order.

Source

fn batch_send_dry_run( &self, options: impl Into<BatchSend>, ) -> Result<BatchSendReport>

Compile and plan every packet without transmitting bytes.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl PacketBatchSendExt for [Packet]

Implementors§