Trait tetsy_updater::Service [−][src]
Parity updater service trait
Required methods
fn capability(&self) -> CapState
[src]
Is the currently running client capable of supporting the current chain? We default to true if there’s no clear information.
fn upgrade_ready(&self) -> Option<ReleaseInfo>
[src]
The release which is ready to be upgraded to, if any. If this returns Some
, then
execute_upgrade
may be called.
fn execute_upgrade(&self) -> bool
[src]
Actually upgrades the client. Assumes that the binary has been downloaded.
@returns true
on success.
fn version_info(&self) -> VersionInfo
[src]
Our version info.
fn info(&self) -> Option<OperationsInfo>
[src]
Information gathered concerning the release.