pub enum ProgramResumeUpdate {
Configure {
enabled: bool,
},
SetTarget {
argv: Vec<String>,
cwd: Option<String>,
},
Clear,
}Expand description
Projection commands for the session-owned resume adapter.
Like crate::program_status::ProgramStatusUpdate, these carry no input or
execution authority: they only describe which resume record the terminal
should hold for this session.
Variants§
Configure
SetTarget
Advertise argv as the command that resumes this session, in cwd.
cwd must be absolute when present. The adapter re-reports only when
the target changes.
Clear
Withdraw any outstanding resume record (user ended the session).
Trait Implementations§
Source§impl Clone for ProgramResumeUpdate
impl Clone for ProgramResumeUpdate
Source§impl Debug for ProgramResumeUpdate
impl Debug for ProgramResumeUpdate
impl Eq for ProgramResumeUpdate
Source§impl PartialEq for ProgramResumeUpdate
impl PartialEq for ProgramResumeUpdate
impl StructuralPartialEq for ProgramResumeUpdate
Auto Trait Implementations§
impl Forget for ProgramResumeUpdate
impl Freeze for ProgramResumeUpdate
impl Move for ProgramResumeUpdate
impl RefUnwindSafe for ProgramResumeUpdate
impl Send for ProgramResumeUpdate
impl Sync for ProgramResumeUpdate
impl Unpin for ProgramResumeUpdate
impl UnsafeUnpin for ProgramResumeUpdate
impl UnwindSafe for ProgramResumeUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.