pub struct WorkerConfig {
pub num_slots: usize,
pub setup_log_hook: Option<SetupLogHook>,
}Fields§
§num_slots: usize§setup_log_hook: Option<SetupLogHook>Hook for setup log routing. Called before setup() to register a log sender.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkerConfig
impl !RefUnwindSafe for WorkerConfig
impl Send for WorkerConfig
impl !Sync for WorkerConfig
impl Unpin for WorkerConfig
impl UnsafeUnpin for WorkerConfig
impl !UnwindSafe for WorkerConfig
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