pub struct ToolRestoreReport {
pub generation: u64,
pub orphaned: Vec<String>,
}Expand description
Outcome of ToolRegistry::restore_state: the adopted generation plus the
names of persisted tools that no registered source currently resolves.
Hosts should surface a non-empty orphaned list to the user — the session
opened, but those tools are Off until their source returns.
Fields§
§generation: u64§orphaned: Vec<String>Trait Implementations§
Source§impl Clone for ToolRestoreReport
impl Clone for ToolRestoreReport
Source§fn clone(&self) -> ToolRestoreReport
fn clone(&self) -> ToolRestoreReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolRestoreReport
impl Debug for ToolRestoreReport
Source§impl Default for ToolRestoreReport
impl Default for ToolRestoreReport
Source§fn default() -> ToolRestoreReport
fn default() -> ToolRestoreReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolRestoreReport
impl RefUnwindSafe for ToolRestoreReport
impl Send for ToolRestoreReport
impl Sync for ToolRestoreReport
impl Unpin for ToolRestoreReport
impl UnsafeUnpin for ToolRestoreReport
impl UnwindSafe for ToolRestoreReport
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