pub struct Cfg {
pub mode: Mode,
pub min_age_s: i64,
pub max_links: usize,
pub max_files: usize,
pub max_lines: usize,
pub call_timeout: Duration,
pub budget: Duration,
}Expand description
Limits and the rollout gate, from the environment (module doc).
Fields§
§mode: Mode§min_age_s: i64§max_links: usize§max_files: usize§max_lines: usize§call_timeout: Duration§budget: DurationImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnsafeUnpin for Cfg
impl UnwindSafe for Cfg
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