pub struct ActorsTestBootstrapper {
bootstrapper: SingleNodeTestBootstrapper,
alice: Option<Wallet>,
bob: Option<Wallet>,
}
Fields§
§bootstrapper: SingleNodeTestBootstrapper
§alice: Option<Wallet>
§bob: Option<Wallet>
Implementations§
source§impl ActorsTestBootstrapper
impl ActorsTestBootstrapper
pub(crate) fn with_bft_leader_node(self) -> Self
source§impl ActorsTestBootstrapper
impl ActorsTestBootstrapper
pub(crate) fn with_bob_without_funds(self) -> Self
source§impl ActorsTestBootstrapper
impl ActorsTestBootstrapper
pub(crate) fn with_alice(self, value: Value) -> Self
pub fn build(self) -> ActorsTestContext
Trait Implementations§
source§impl Default for ActorsTestBootstrapper
impl Default for ActorsTestBootstrapper
source§fn default() -> ActorsTestBootstrapper
fn default() -> ActorsTestBootstrapper
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ActorsTestBootstrapper
impl Send for ActorsTestBootstrapper
impl Sync for ActorsTestBootstrapper
impl Unpin for ActorsTestBootstrapper
impl UnwindSafe for ActorsTestBootstrapper
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