pub struct Handle {
pub status: Receiver<Status>,
pub control: Arc<Control>,
pub store: Store,
pub caches: Receiver<Vec<CacheVolume>>,
pub records: Receiver<Records>,
}Expand description
What the API needs from a running engine.
Fields§
§status: Receiver<Status>The latest status, replaced after every tick.
control: Arc<Control>Pause, resume and shutdown requests.
store: StoreThe job history.
caches: Receiver<Vec<CacheVolume>>Every cache volume of the config, with size 0: the API fills in the sizes it measured. Replaced when the config is.
records: Receiver<Records>The records of failed jobs, replaced whenever one is made or removed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnsafeUnpin for Handle
impl UnwindSafe for Handle
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