pub struct ProgramResume<'a> {
pub argv: &'a [&'a str],
pub cwd: Option<&'a str>,
}Expand description
A resume command, with borrowed text.
The writer validates the command before any output. Callers supply plain UTF-8, not base64.
Fields§
§argv: &'a [&'a str]The command and its arguments. The first element is a bare command
name that does not start with -, or an absolute path for the host
platform. The terminal
looks up a bare name on PATH when it resumes the program. Later
elements can be empty. No element can contain a control character.
cwd: Option<&'a str>Optional working directory for the resumed command, as an absolute path for the host platform.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ProgramResume<'a>
impl<'a> Clone for ProgramResume<'a>
impl<'a> Copy for ProgramResume<'a>
Source§impl<'a> Debug for ProgramResume<'a>
impl<'a> Debug for ProgramResume<'a>
impl<'a> Eq for ProgramResume<'a>
Source§impl<'a> PartialEq for ProgramResume<'a>
impl<'a> PartialEq for ProgramResume<'a>
impl<'a> StructuralPartialEq for ProgramResume<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProgramResume<'a>
impl<'a> RefUnwindSafe for ProgramResume<'a>
impl<'a> Send for ProgramResume<'a>
impl<'a> Sync for ProgramResume<'a>
impl<'a> Unpin for ProgramResume<'a>
impl<'a> UnsafeUnpin for ProgramResume<'a>
impl<'a> UnwindSafe for ProgramResume<'a>
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