[−][src]Trait tendermint_light_client::supervisor::Handle
Provides an interface to the supervisor for use in downstream code.
Required methods
pub fn latest_trusted(&self) -> Result<Option<LightBlock>, Error>
[src]
Get latest trusted block.
pub fn latest_status(&self) -> Result<LatestStatus, Error>
[src]
Get the latest status.
pub fn verify_to_highest(&self) -> Result<LightBlock, Error>
[src]
Verify to the highest block.
pub fn verify_to_target(&self, _height: Height) -> Result<LightBlock, Error>
[src]
Verify to the block at the given height.
pub fn terminate(&self) -> Result<(), Error>
[src]
Terminate the underlying Supervisor
.