pub struct RecorderConfig {
pub output_dir: PathBuf,
pub max_events: usize,
pub max_network_entries: usize,
}Expand description
Configuration for a SessionRecorder.
Fields§
§output_dir: PathBufDirectory to write recording files to.
max_events: usizeMaximum number of CDP events to buffer (older events are dropped first).
max_network_entries: usizeMaximum number of network entries to buffer.
Trait Implementations§
Source§impl Clone for RecorderConfig
impl Clone for RecorderConfig
Source§fn clone(&self) -> RecorderConfig
fn clone(&self) -> RecorderConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RecorderConfig
impl Debug for RecorderConfig
Auto Trait Implementations§
impl Freeze for RecorderConfig
impl RefUnwindSafe for RecorderConfig
impl Send for RecorderConfig
impl Sync for RecorderConfig
impl Unpin for RecorderConfig
impl UnwindSafe for RecorderConfig
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