pub struct DebugToolsConfig {
pub log_dir: PathBuf,
pub max_log_size_bytes: u64,
pub log_format: LogFormat,
pub enable_dom_capture: bool,
pub enable_rust_logging: bool,
}Fields§
§log_dir: PathBuf§max_log_size_bytes: u64§log_format: LogFormat§enable_dom_capture: bool§enable_rust_logging: boolImplementations§
Source§impl DebugToolsConfig
impl DebugToolsConfig
pub fn from_app_handle<R: Runtime>( app: &AppHandle<R>, ) -> Result<Self, ConfigError>
pub fn frontend_log_path(&self, app_name: &str, pid: u32) -> PathBuf
pub fn backend_log_path(&self) -> PathBuf
pub fn screenshot_dir(&self) -> PathBuf
pub fn dom_snapshot_dir(&self) -> PathBuf
pub fn ensure_subdirectories(&self) -> Result<(), ConfigError>
Trait Implementations§
Source§impl Clone for DebugToolsConfig
impl Clone for DebugToolsConfig
Source§fn clone(&self) -> DebugToolsConfig
fn clone(&self) -> DebugToolsConfig
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 DebugToolsConfig
impl Debug for DebugToolsConfig
Auto Trait Implementations§
impl Freeze for DebugToolsConfig
impl RefUnwindSafe for DebugToolsConfig
impl Send for DebugToolsConfig
impl Sync for DebugToolsConfig
impl Unpin for DebugToolsConfig
impl UnsafeUnpin for DebugToolsConfig
impl UnwindSafe for DebugToolsConfig
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