pub struct WorkerConfig {
pub wtype: WorkerType,
pub app_dir: Option<&'static str>,
pub rscript: &'static OsStr,
pub quarto: &'static OsStr,
pub workdir: &'static Path,
pub addr: SocketAddr,
pub target: &'static str,
pub worker_id: usize,
pub worker_route: Option<&'static str>,
pub is_online: &'static AtomicBool,
pub qmd: Option<&'static Path>,
}Fields§
§wtype: WorkerType§app_dir: Option<&'static str>§rscript: &'static OsStr§quarto: &'static OsStr§workdir: &'static Path§addr: SocketAddr§target: &'static str§worker_id: usize§worker_route: Option<&'static str>§is_online: &'static AtomicBool§qmd: Option<&'static Path>Implementations§
Source§impl WorkerConfig
impl WorkerConfig
Trait Implementations§
Source§impl Clone for WorkerConfig
impl Clone for WorkerConfig
Source§fn clone(&self) -> WorkerConfig
fn clone(&self) -> WorkerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorkerConfig
Auto Trait Implementations§
impl Freeze for WorkerConfig
impl RefUnwindSafe for WorkerConfig
impl Send for WorkerConfig
impl Sync for WorkerConfig
impl Unpin 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