pub struct ConcretizedFormals(_);
Expand description

A read/write set state with no unbound formals or type variables

Implementations

Return a Self that accesses nothing.

Return the ResourceKey’s that may be written by self. For example: if self is 0x7/0x1::AModule::AResource/f/g -> ReadWrite, this will return 0x7/0x1::AModule.

Return the ResourceKey’s read by self.

Concretize all secondary indexes in self using blockchain_view and return the result. For example: if self is 0x7/0x1::AModule::AResource/addr_field/0x2::M2::R/f -> Write and the value of 0x7/0x1::AModule::AResource/addr_field is 0xA in blockchain_view, this will return { 0x7/0x1::AModule::AResource/addr_field -> Read, 0xA/0x2::M2::R/f -> Write }

Construct a ConcretizedFormals from accesses by binding the formals and type variables in accesses to signers/actuals and type_actuals. For example: if accesses is Formal(0)/0x1::M::S<TypeVar(0)>/f -> Read, signers is 0xA and type_actuals is 0x2::M2::S2, this will return 0xA/0x1::M::S<0x2::M2::S@>/f -> Read

Methods from Deref<Target = ReadWriteSet>

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.