pub struct SyncQueryConfig {
pub complexity_target: usize,
pub minimum_page_size: usize,
pub max_retry_attempts: usize,
pub retry_base_delay: Duration,
pub verbose: bool,
/* private fields */
}Fields§
§complexity_target: usize§minimum_page_size: usize§max_retry_attempts: usize§retry_base_delay: Duration§verbose: boolImplementations§
Source§impl SyncQueryConfig
impl SyncQueryConfig
pub fn from_environment() -> Self
pub fn with_page_size( self, operation: LinearOperation, page_size: usize, ) -> Self
pub fn page_size(&self, operation: LinearOperation) -> usize
pub fn estimated_request_complexity( &self, operation: LinearOperation, page_size: usize, ) -> usize
Trait Implementations§
Source§impl Clone for SyncQueryConfig
impl Clone for SyncQueryConfig
Source§fn clone(&self) -> SyncQueryConfig
fn clone(&self) -> SyncQueryConfig
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 SyncQueryConfig
impl Debug for SyncQueryConfig
Auto Trait Implementations§
impl Freeze for SyncQueryConfig
impl RefUnwindSafe for SyncQueryConfig
impl Send for SyncQueryConfig
impl Sync for SyncQueryConfig
impl Unpin for SyncQueryConfig
impl UnsafeUnpin for SyncQueryConfig
impl UnwindSafe for SyncQueryConfig
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