pub struct StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>where
PE: PolicyEngine,
HR: HttpRequest,
IN: Installer,
TM: Timer,
MR: MetricsReporter,
ST: Storage,
AS: AppSet,{ /* private fields */ }
Expand description
This is the core state machine for a client’s update check. It is instantiated and used to perform update checks over time or to perform a single update check process.
Trait Implementations§
Source§impl<PE, HR, IN, TM, MR, ST, AS, CH: Debug> Debug for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>where
PE: PolicyEngine + Debug,
HR: HttpRequest + Debug,
IN: Installer + Debug,
TM: Timer + Debug,
MR: MetricsReporter + Debug,
ST: Storage + Debug,
AS: AppSet + Debug,
PE::TimeSource: Debug,
impl<PE, HR, IN, TM, MR, ST, AS, CH: Debug> Debug for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>where
PE: PolicyEngine + Debug,
HR: HttpRequest + Debug,
IN: Installer + Debug,
TM: Timer + Debug,
MR: MetricsReporter + Debug,
ST: Storage + Debug,
AS: AppSet + Debug,
PE::TimeSource: Debug,
Auto Trait Implementations§
impl<PE, HR, IN, TM, MR, ST, AS, CH> Freeze for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>where
PE: Freeze,
HR: Freeze,
IN: Freeze,
TM: Freeze,
<PE as PolicyEngine>::TimeSource: Freeze,
MR: Freeze,
CH: Freeze,
impl<PE, HR, IN, TM, MR, ST, AS, CH> !RefUnwindSafe for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>
impl<PE, HR, IN, TM, MR, ST, AS, CH> !Send for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>
impl<PE, HR, IN, TM, MR, ST, AS, CH> !Sync for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>
impl<PE, HR, IN, TM, MR, ST, AS, CH> Unpin for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>where
PE: Unpin,
HR: Unpin,
IN: Unpin,
TM: Unpin,
<PE as PolicyEngine>::TimeSource: Unpin,
MR: Unpin,
CH: Unpin,
impl<PE, HR, IN, TM, MR, ST, AS, CH> !UnwindSafe for StateMachine<PE, HR, IN, TM, MR, ST, AS, CH>
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