linera_execution

Type Alias UserContractCode

Source
pub type UserContractCode = Box<dyn UserContractModule + Send + Sync>;
Expand description

An implementation of UserContractModule.

Aliased Type§

struct UserContractCode(/* private fields */);

Trait Implementations§

Source§

impl<T: UserContractModule + Send + Sync + 'static> From<T> for UserContractCode

Source§

fn from(module: T) -> Self

Converts to this type from the input type.