pub struct AppConfig {
pub threads: usize,
}Expand description
Configuration settings for the application.
This struct is used to configure various aspects of the application, such as the number of threads to be used in the thread pool.
§Fields
threads- The number of threads to be used by the application’s thread pool.
Fields§
§threads: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnwindSafe for AppConfig
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