pub struct LegacySingleNodeTestBootstrapper {
inner: SingleNodeTestBootstrapper,
legacy_node_config: LegacyNodeConfigBuilder,
jormungandr_app: Option<PathBuf>,
version: Version,
}
Fields§
§inner: SingleNodeTestBootstrapper
§legacy_node_config: LegacyNodeConfigBuilder
§jormungandr_app: Option<PathBuf>
§version: Version
Implementations§
source§impl LegacySingleNodeTestBootstrapper
impl LegacySingleNodeTestBootstrapper
pub fn with_jormungandr_app(self, jormungandr_app: PathBuf) -> Self
pub fn with_version(self, version: Version) -> Self
pub fn with_rewards_history(self) -> Self
pub fn with_node_config( self, legacy_node_config: LegacyNodeConfigBuilder ) -> Self
pub fn as_bft_leader(self) -> Self
pub fn with_block0_config(self, config: Block0ConfigurationBuilder) -> Self
pub fn build(self) -> Result<LegacyTestContext, LegacyConfigError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LegacySingleNodeTestBootstrapper
impl Send for LegacySingleNodeTestBootstrapper
impl Sync for LegacySingleNodeTestBootstrapper
impl Unpin for LegacySingleNodeTestBootstrapper
impl UnwindSafe for LegacySingleNodeTestBootstrapper
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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