pub struct TendermintHostBuilder<___State = __TendermintHostBuilderInitialState> { /* private fields */ }Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build().
Implementations§
Source§impl<__ChainId, __History> TendermintHostBuilder<(__ChainId, __History)>
impl<__ChainId, __History> TendermintHostBuilder<(__ChainId, __History)>
Sourcepub fn build(self) -> TendermintHostwhere
__ChainId: IntoSet<Option<ChainId>, TendermintHostBuilder__chain_id>,
__History: IntoSet<Option<Vec<TmLightBlock>>, TendermintHostBuilder__history>,
pub fn build(self) -> TendermintHostwhere
__ChainId: IntoSet<Option<ChainId>, TendermintHostBuilder__chain_id>,
__History: IntoSet<Option<Vec<TmLightBlock>>, TendermintHostBuilder__history>,
Finishes building and returns the requested object.
Sourcepub fn maybe_chain_id(
self,
value: Option<ChainId>,
) -> <Self as __TendermintHostBuilderSetMember>::ChainIdwhere
__ChainId: IsUnset,
pub fn maybe_chain_id(
self,
value: Option<ChainId>,
) -> <Self as __TendermintHostBuilderSetMember>::ChainIdwhere
__ChainId: IsUnset,
Same as Self::chain_id, but accepts an Option as input. See that method’s documentation for more details.
Sourcepub fn chain_id(
self,
value: ChainId,
) -> <Self as __TendermintHostBuilderSetMember>::ChainIdwhere
__ChainId: IsUnset,
pub fn chain_id(
self,
value: ChainId,
) -> <Self as __TendermintHostBuilderSetMember>::ChainIdwhere
__ChainId: IsUnset,
Unique identifier for the chain.
Sourcepub fn maybe_history(
self,
value: Option<Vec<TmLightBlock>>,
) -> <Self as __TendermintHostBuilderSetMember>::Historywhere
__History: IsUnset,
pub fn maybe_history(
self,
value: Option<Vec<TmLightBlock>>,
) -> <Self as __TendermintHostBuilderSetMember>::Historywhere
__History: IsUnset,
Same as Self::history, but accepts an Option as input. See that method’s documentation for more details.
Sourcepub fn history(
self,
value: Vec<TmLightBlock>,
) -> <Self as __TendermintHostBuilderSetMember>::Historywhere
__History: IsUnset,
pub fn history(
self,
value: Vec<TmLightBlock>,
) -> <Self as __TendermintHostBuilderSetMember>::Historywhere
__History: IsUnset,
The chain of blocks underlying this context.
Auto Trait Implementations§
impl<___State> Freeze for TendermintHostBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for TendermintHostBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for TendermintHostBuilder<___State>where
___State: Send,
impl<___State> Sync for TendermintHostBuilder<___State>where
___State: Sync,
impl<___State> Unpin for TendermintHostBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for TendermintHostBuilder<___State>where
___State: UnwindSafe,
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