Enum brush_parser::ast::IoFileRedirectTarget
source · pub enum IoFileRedirectTarget {
Filename(Word),
Fd(u32),
ProcessSubstitution(SubshellCommand),
}Expand description
Target for an I/O file redirection.
Variants§
Filename(Word)
Path to a file.
Fd(u32)
File descriptor number.
ProcessSubstitution(SubshellCommand)
Process substitution: substitution with the results of executing the given command in a subshell.
Trait Implementations§
source§impl Clone for IoFileRedirectTarget
impl Clone for IoFileRedirectTarget
source§fn clone(&self) -> IoFileRedirectTarget
fn clone(&self) -> IoFileRedirectTarget
Returns a copy 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 moresource§impl Debug for IoFileRedirectTarget
impl Debug for IoFileRedirectTarget
Auto Trait Implementations§
impl Freeze for IoFileRedirectTarget
impl RefUnwindSafe for IoFileRedirectTarget
impl Send for IoFileRedirectTarget
impl Sync for IoFileRedirectTarget
impl Unpin for IoFileRedirectTarget
impl UnwindSafe for IoFileRedirectTarget
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