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§
Sourcefn batch_send(&self, options: impl Into<BatchSend>) -> Result<BatchSendReport>
fn batch_send(&self, options: impl Into<BatchSend>) -> Result<BatchSendReport>
Send every packet and return reports aligned with the request order.
Sourcefn batch_send_dry_run(
&self,
options: impl Into<BatchSend>,
) -> Result<BatchSendReport>
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".