Trait iota_json_rpc_api::MoveUtilsClient
source · pub trait MoveUtilsClient: ClientT {
// Provided methods
fn get_move_function_arg_types<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module: String,
function: String,
) -> Pin<Box<dyn Future<Output = Result<Vec<MoveFunctionArgType>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_normalized_move_modules_by_package<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<String, IotaMoveNormalizedModule>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_normalized_move_module<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedModule, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_normalized_move_struct<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
struct_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedStruct, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn get_normalized_move_function<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
function_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedFunction, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the MoveUtils
RPC API.
Provided Methods§
sourcefn get_move_function_arg_types<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module: String,
function: String,
) -> Pin<Box<dyn Future<Output = Result<Vec<MoveFunctionArgType>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_move_function_arg_types<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module: String,
function: String,
) -> Pin<Box<dyn Future<Output = Result<Vec<MoveFunctionArgType>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Return the argument types of a Move function, based on normalized Type.
sourcefn get_normalized_move_modules_by_package<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<String, IotaMoveNormalizedModule>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_normalized_move_modules_by_package<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<String, IotaMoveNormalizedModule>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Return structured representations of all modules in the given package
sourcefn get_normalized_move_module<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedModule, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_normalized_move_module<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedModule, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Return a structured representation of Move module
sourcefn get_normalized_move_struct<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
struct_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedStruct, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_normalized_move_struct<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
struct_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedStruct, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Return a structured representation of Move struct
sourcefn get_normalized_move_function<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
function_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedFunction, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_normalized_move_function<'life0, 'async_trait>(
&'life0 self,
package: ObjectID,
module_name: String,
function_name: String,
) -> Pin<Box<dyn Future<Output = Result<IotaMoveNormalizedFunction, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Return a structured representation of Move function
Object Safety§
This trait is not object safe.