pub struct RestoreResult {
pub success: bool,
pub runtime: RuntimeKind,
pub warnings: Vec<String>,
pub restored_bindings: IndexMap<String, String>,
pub duration_us: u64,
}Expand description
Result of restoring state into a runtime.
Fields§
§success: boolWhether restore succeeded.
runtime: RuntimeKindRuntime that received the state.
warnings: Vec<String>Warnings emitted during restore.
restored_bindings: IndexMap<String, String>Bindings restored (name → summary).
duration_us: u64Duration in microseconds.
Trait Implementations§
Source§impl Clone for RestoreResult
impl Clone for RestoreResult
Source§impl Debug for RestoreResult
impl Debug for RestoreResult
Source§impl<'de> Deserialize<'de> for RestoreResult
impl<'de> Deserialize<'de> for RestoreResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RestoreResult
impl RefUnwindSafe for RestoreResult
impl Send for RestoreResult
impl Sync for RestoreResult
impl Unpin for RestoreResult
impl UnsafeUnpin for RestoreResult
impl UnwindSafe for RestoreResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more