Struct bulwark_config::Runtime
source · pub struct Runtime {
pub max_concurrent_requests: usize,
pub max_plugin_tasks: usize,
}
Expand description
Configuration for the runtime environment.
Fields§
§max_concurrent_requests: usize
The maximum number of concurrent incoming requests that the runtime will process before blocking.
max_plugin_tasks: usize
The maximum number of concurrent plugin tasks that the runtime will launch.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
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