pub struct ExportOptions {
pub output: PathBuf,
pub format: Option<ExportFormat>,
pub compress_payload: bool,
pub filter: Filter,
pub bpf_filter: Option<BpfExpr>,
pub unidirectional: bool,
}Expand description
Options for export_file (single-output convenience wrapper).
Fields§
§output: PathBufDestination file path (extension used for format auto-detection).
format: Option<ExportFormat>Output format. When None, inferred from the output file extension.
compress_payload: boolApply Zstd compression to payload bytes (JSON: per-payload field; Parquet: column-level compression; Avro: file-level codec).
filter: FilterStructured packet filter applied to each packet.
bpf_filter: Option<BpfExpr>BPF expression filter AND-ed with filter.
unidirectional: boolCompute flow IDs unidirectionally (default: bidirectional).
Trait Implementations§
Source§impl Debug for ExportOptions
impl Debug for ExportOptions
Source§impl Default for ExportOptions
impl Default for ExportOptions
Source§fn default() -> ExportOptions
fn default() -> ExportOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportOptions
impl RefUnwindSafe for ExportOptions
impl Send for ExportOptions
impl Sync for ExportOptions
impl Unpin for ExportOptions
impl UnsafeUnpin for ExportOptions
impl UnwindSafe for ExportOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more