#[repr(u8)]pub enum RedirType {
Show 18 variants
Write = 0,
Writenow = 1,
App = 2,
Appnow = 3,
Errwrite = 4,
Errwritenow = 5,
Errapp = 6,
Errappnow = 7,
Readwrite = 8,
Read = 9,
Heredoc = 10,
Heredocdash = 11,
Herestr = 12,
Mergein = 13,
Mergeout = 14,
Close = 15,
Inpipe = 16,
Outpipe = 17,
}Expand description
Redirection types - matches enum from zsh.h
Variants§
Write = 0
Writenow = 1
App = 2
Appnow = 3
Errwrite = 4
Errwritenow = 5
Errapp = 6
Errappnow = 7
Readwrite = 8
Read = 9
Heredoc = 10
Heredocdash = 11
Herestr = 12
Mergein = 13
Mergeout = 14
Close = 15
Inpipe = 16
Outpipe = 17
Implementations§
Trait Implementations§
impl Copy for RedirType
impl Eq for RedirType
impl StructuralPartialEq for RedirType
Auto Trait Implementations§
impl Freeze for RedirType
impl RefUnwindSafe for RedirType
impl Send for RedirType
impl Sync for RedirType
impl Unpin for RedirType
impl UnsafeUnpin for RedirType
impl UnwindSafe for RedirType
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