pub struct RecordArgs {
pub output: Option<String>,
pub domain: u32,
pub topics: Vec<String>,
pub duration: Option<Duration>,
pub max_sample_bytes: usize,
pub decode: bool,
pub type_file: Option<String>,
pub map: Vec<String>,
pub out_json: Option<String>,
pub out_sqlite: Option<String>,
}Expand description
Argumente für zerodds-record record.
Fields§
§output: Option<String>Output-Pfad für .zddsrec. Default: capture-<timestamp>.zddsrec.
domain: u32DDS-Domain-ID. Default: 0.
topics: Vec<String>Topic-Filter (Prefix oder Glob); leer = alle Topics.
duration: Option<Duration>Recording-Duration; None = bis SIGINT.
max_sample_bytes: usizeMaximale Sample-Größe (DoS-Cap). Default 1 MiB.
decode: boolDecode opaque CDR samples to typed values (needs type_file).
type_file: Option<String>Out-of-band IDL file providing the types to decode against.
map: Vec<String>topic=TypeName mappings; resolves which IDL type decodes a topic.
out_json: Option<String>Write decoded samples as NDJSON to this path.
out_sqlite: Option<String>Write decoded samples to a per-topic relational SQLite DB at this path.
Trait Implementations§
Source§impl Clone for RecordArgs
impl Clone for RecordArgs
Source§fn clone(&self) -> RecordArgs
fn clone(&self) -> RecordArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordArgs
impl Debug for RecordArgs
Source§impl Default for RecordArgs
impl Default for RecordArgs
impl Eq for RecordArgs
Source§impl PartialEq for RecordArgs
impl PartialEq for RecordArgs
Source§fn eq(&self, other: &RecordArgs) -> bool
fn eq(&self, other: &RecordArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordArgs
Auto Trait Implementations§
impl Freeze for RecordArgs
impl RefUnwindSafe for RecordArgs
impl Send for RecordArgs
impl Sync for RecordArgs
impl Unpin for RecordArgs
impl UnsafeUnpin for RecordArgs
impl UnwindSafe for RecordArgs
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