pub struct Check {
pub notice: Option<String>,
pub badge: Option<Behind>,
/* private fields */
}Expand description
What a front door (run, the interactive interface) does about the notice: the line to say
once, if any, the badge, and the refresh that may still be in flight.
Fields§
§notice: Option<String>The one-line notice, already marked as shown in the cache.
badge: Option<Behind>The badge as the disk stood when the run started. A surface that repaints reads its
Watch again instead of this, so an answer that lands mid-run still shows up.
Implementations§
Source§impl Check
impl Check
Sourcepub fn idle() -> Check
pub fn idle() -> Check
Never started anything: [update] check = "off", no install marker, or nothing due.
Sourcepub fn start(env: EnvFn<'_>, cfg: &UpdateConfig) -> Check
pub fn start(env: EnvFn<'_>, cfg: &UpdateConfig) -> Check
Start the notice for this run. Never fails and never waits: the line printed comes from what an earlier run cached, and a refresh, if one is due, runs in the background. Needs a tokio runtime.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Check
impl Freeze for Check
impl Move for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Checkwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Header is !null: UnsafeUnpin,
PhantomData<()>: UnsafeUnpin,
impl UnwindSafe for Check
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