pub struct Parsed {
pub mode: Mode,
pub redirect: Option<InstalledStreamRedirect>,
}Expand description
What parse_args resolved, plus the stream redirection it installed.
The guard belongs to the caller: dropping it restores the process fds, so it has to outlive every event the selected mode is about to write.
Fields§
§mode: Mode§redirect: Option<InstalledStreamRedirect>Auto Trait Implementations§
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
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