pub struct ClientStateConfig {
pub trust_level: TrustThreshold,
pub trusting_period: Duration,
pub unbonding_period: Duration,
pub max_clock_drift: Duration,
pub proof_specs: ProofSpecs,
pub upgrade_path: Vec<String>,
/* private fields */
}
Fields§
§trust_level: TrustThreshold
§trusting_period: Duration
§unbonding_period: Duration
§max_clock_drift: Duration
§proof_specs: ProofSpecs
§upgrade_path: Vec<String>
Implementations§
Source§impl ClientStateConfig
impl ClientStateConfig
Sourcepub fn builder() -> ClientStateConfigBuilder
pub fn builder() -> ClientStateConfigBuilder
Create an instance of ClientStateConfig
using the builder syntax
Source§impl ClientStateConfig
impl ClientStateConfig
pub fn into_client_state( self, chain_id: ChainId, latest_height: Height, ) -> Result<TmClientState, TendermintClientError>
Trait Implementations§
Source§impl Debug for ClientStateConfig
impl Debug for ClientStateConfig
Auto Trait Implementations§
impl Freeze for ClientStateConfig
impl RefUnwindSafe for ClientStateConfig
impl Send for ClientStateConfig
impl Sync for ClientStateConfig
impl Unpin for ClientStateConfig
impl UnwindSafe for ClientStateConfig
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request