Struct tendermint_testgen::light_chain::LightChain [−][src]
pub struct LightChain { pub info: Info, pub light_blocks: Vec<LightBlock>, }
Fields
info: Info
light_blocks: Vec<LightBlock>
Implementations
expects at least one LightBlock in the Chain
fetches a block from LightChain at a certain height it returns None if a block does not exist for the target_height
fetches a mutable block from LightChain at a certain height it returns None if a block does not exist for the target_height
fetches the latest block from LightChain
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LightChain
impl Send for LightChain
impl Sync for LightChain
impl Unpin for LightChain
impl UnwindSafe for LightChain
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V