pub struct TurboConfig {
pub scan_mode: ScanMode,
pub max_file_size: usize,
pub worker_threads: usize,
pub use_mmap: bool,
pub enable_cache: bool,
pub cache_size_mb: usize,
pub max_critical_findings: Option<usize>,
pub timeout_seconds: Option<u64>,
pub skip_gitignored: bool,
pub priority_extensions: Vec<String>,
pub pattern_sets: Vec<String>,
}Expand description
Turbo security analyzer configuration
Fields§
§scan_mode: ScanModeScanning mode determines speed vs thoroughness tradeoff
max_file_size: usizeMaximum file size to scan (in bytes)
worker_threads: usizeNumber of worker threads (0 = auto-detect)
use_mmap: boolEnable memory mapping for large files
enable_cache: boolCache configuration
cache_size_mb: usize§max_critical_findings: Option<usize>Early termination
timeout_seconds: Option<u64>§skip_gitignored: boolFile filtering
priority_extensions: Vec<String>§pattern_sets: Vec<String>Pattern configuration
Trait Implementations§
Source§impl Clone for TurboConfig
impl Clone for TurboConfig
Source§fn clone(&self) -> TurboConfig
fn clone(&self) -> TurboConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TurboConfig
impl Debug for TurboConfig
Auto Trait Implementations§
impl Freeze for TurboConfig
impl RefUnwindSafe for TurboConfig
impl Send for TurboConfig
impl Sync for TurboConfig
impl Unpin for TurboConfig
impl UnwindSafe for TurboConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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