pub struct JormungandrStateVerifier {
rest: JormungandrRest,
snapshot_before: Option<StateSnapshot>,
}
Fields§
§rest: JormungandrRest
§snapshot_before: Option<StateSnapshot>
Implementations§
source§impl JormungandrStateVerifier
impl JormungandrStateVerifier
pub fn new(rest: JormungandrRest) -> Self
pub fn fragment_logs(&self) -> FragmentLogVerifier
pub fn record_address_state(self, addresses: Vec<&Address>) -> Self
pub fn value_moved_between_addresses( &self, from: &Address, to: &Address, value: Value ) -> Result<(), StateVerifierError>
pub fn address_lost_value( &self, address: &Address, value: Value ) -> Result<(), StateVerifierError>
pub fn no_changes( &self, addresses: Vec<&Address> ) -> Result<(), StateVerifierError>
pub fn address_has_the_same_value( &self, address: &Address ) -> Result<(), StateVerifierError>
pub fn address_gained_value( &self, address: &Address, value: Value ) -> Result<(), StateVerifierError>
Auto Trait Implementations§
impl !RefUnwindSafe for JormungandrStateVerifier
impl Send for JormungandrStateVerifier
impl Sync for JormungandrStateVerifier
impl Unpin for JormungandrStateVerifier
impl !UnwindSafe for JormungandrStateVerifier
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