[−][src]Struct exonum_rust_runtime::RustRuntime
Rust runtime entity.
Methods
impl RustRuntime
[src]
pub const NAME: &'static str
[src]
Rust runtime name.
pub fn builder() -> RustRuntimeBuilder
[src]
Returns a new builder for the runtime.
Trait Implementations
impl Debug for RustRuntime
[src]
impl Runtime for RustRuntime
[src]
fn initialize(&mut self, blockchain: &Blockchain)
[src]
fn on_resume(&mut self)
[src]
fn deploy_artifact(
&mut self,
artifact: ArtifactId,
spec: Vec<u8>
) -> Box<dyn Future<Item = (), Error = ExecutionError>>
[src]
&mut self,
artifact: ArtifactId,
spec: Vec<u8>
) -> Box<dyn Future<Item = (), Error = ExecutionError>>
fn is_artifact_deployed(&self, id: &ArtifactId) -> bool
[src]
fn initiate_adding_service(
&self,
context: ExecutionContext,
artifact: &ArtifactId,
parameters: Vec<u8>
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext,
artifact: &ArtifactId,
parameters: Vec<u8>
) -> Result<(), ExecutionError>
fn initiate_resuming_service(
&self,
context: ExecutionContext,
artifact: &ArtifactId,
parameters: Vec<u8>
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext,
artifact: &ArtifactId,
parameters: Vec<u8>
) -> Result<(), ExecutionError>
fn update_service_status(
&mut self,
_snapshot: &dyn Snapshot,
spec: &InstanceSpec,
status: &InstanceStatus
)
[src]
&mut self,
_snapshot: &dyn Snapshot,
spec: &InstanceSpec,
status: &InstanceStatus
)
fn migrate(
&self,
new_artifact: &ArtifactId,
data_version: &Version
) -> Result<Option<MigrationScript>, InitMigrationError>
[src]
&self,
new_artifact: &ArtifactId,
data_version: &Version
) -> Result<Option<MigrationScript>, InitMigrationError>
fn execute(
&self,
context: ExecutionContext,
method_id: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext,
method_id: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
fn before_transactions(
&self,
context: ExecutionContext
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext
) -> Result<(), ExecutionError>
fn after_transactions(
&self,
context: ExecutionContext
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext
) -> Result<(), ExecutionError>
fn after_commit(&mut self, snapshot: &dyn Snapshot, mailbox: &mut Mailbox)
[src]
fn shutdown(&mut self)
[src]
impl WellKnownRuntime for RustRuntime
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RustRuntime
impl Send for RustRuntime
impl !Sync for RustRuntime
impl Unpin for RustRuntime
impl !UnwindSafe for RustRuntime
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,