pub struct IntrospectionConfig {
pub max_concurrency: usize,
pub table_timeout: Duration,
pub continue_on_error: bool,
pub batch_size: usize,
}Expand description
Configuration for concurrent introspection.
Fields§
§max_concurrency: usizeMaximum concurrent table introspections.
table_timeout: DurationTimeout per table.
continue_on_error: boolWhether to continue on individual table errors.
batch_size: usizeBatch size for multi-table queries (0 = no batching).
Implementations§
Source§impl IntrospectionConfig
impl IntrospectionConfig
Sourcepub fn for_large_database() -> Self
pub fn for_large_database() -> Self
Create a config optimized for large databases.
Sourcepub fn for_small_database() -> Self
pub fn for_small_database() -> Self
Create a config optimized for small databases.
Sourcepub fn with_max_concurrency(self, max: usize) -> Self
pub fn with_max_concurrency(self, max: usize) -> Self
Set maximum concurrency.
Sourcepub fn with_table_timeout(self, timeout: Duration) -> Self
pub fn with_table_timeout(self, timeout: Duration) -> Self
Set table timeout.
Sourcepub fn with_batch_size(self, size: usize) -> Self
pub fn with_batch_size(self, size: usize) -> Self
Set batch size for multi-table queries.
Trait Implementations§
Source§impl Clone for IntrospectionConfig
impl Clone for IntrospectionConfig
Source§fn clone(&self) -> IntrospectionConfig
fn clone(&self) -> IntrospectionConfig
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 IntrospectionConfig
impl Debug for IntrospectionConfig
Auto Trait Implementations§
impl Freeze for IntrospectionConfig
impl RefUnwindSafe for IntrospectionConfig
impl Send for IntrospectionConfig
impl Sync for IntrospectionConfig
impl Unpin for IntrospectionConfig
impl UnwindSafe for IntrospectionConfig
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