Struct abstract_boot::ModuleDeployer
source · pub struct ModuleDeployer<Chain: BootEnvironment> {
pub chain: Chain,
pub version: Version,
pub ans_host: AnsHost<Chain>,
pub version_control: VersionControl<Chain>,
}
Expand description
An Abstract module deployer that can deploy modules to a chain.
Fields§
§chain: Chain
§version: Version
§ans_host: AnsHost<Chain>
§version_control: VersionControl<Chain>
Implementations§
source§impl<Chain: BootEnvironment> ModuleDeployer<Chain>
impl<Chain: BootEnvironment> ModuleDeployer<Chain>
sourcepub fn new(chain: Chain, version: Version) -> Self
pub fn new(chain: Chain, version: Version) -> Self
Create a new instance of the module deployer, loaded from the STATE_FILE.
Auto Trait Implementations§
impl<Chain> !RefUnwindSafe for ModuleDeployer<Chain>
impl<Chain> !Send for ModuleDeployer<Chain>
impl<Chain> !Sync for ModuleDeployer<Chain>
impl<Chain> Unpin for ModuleDeployer<Chain>where
Chain: Unpin,
impl<Chain> !UnwindSafe for ModuleDeployer<Chain>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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