pub struct Config {
pub scheduler_url: String,
pub worker_group: String,
pub max_retry: usize,
pub ping_interval: u64,
}Expand description
Worker configuration
Fields§
§scheduler_url: StringScheduler WebSocket URL
worker_group: StringWorker group name
max_retry: usizeMaximum connection retry attempts
ping_interval: u64Ping interval in seconds
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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