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