pub struct RestoreOutcome {
pub session: Session,
pub launch_command: String,
pub runtime_handle: String,
pub prompt_sent: bool,
}Expand description
Outcome of a successful restore, returned so the caller can pretty-print.
Fields§
§session: Session§launch_command: StringLaunch command actually handed to the runtime. Useful for CLI output.
runtime_handle: StringNew runtime handle (usually the same tmux name as before).
prompt_sent: boolWhether we successfully re-delivered the initial prompt to the agent.
Restore still succeeds if this fails (best-effort), but callers may want to surface a warning suggesting a manual resend.
Trait Implementations§
Source§impl Clone for RestoreOutcome
impl Clone for RestoreOutcome
Source§fn clone(&self) -> RestoreOutcome
fn clone(&self) -> RestoreOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RestoreOutcome
impl RefUnwindSafe for RestoreOutcome
impl Send for RestoreOutcome
impl Sync for RestoreOutcome
impl Unpin for RestoreOutcome
impl UnsafeUnpin for RestoreOutcome
impl UnwindSafe for RestoreOutcome
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