pub enum RedirectMode {
Read,
Write,
ReadAppend,
WriteAppend,
ReadDup,
WriteDup,
ReadWrite,
}Expand description
File redirection modes
Variants§
Trait Implementations§
Source§impl Clone for RedirectMode
impl Clone for RedirectMode
Source§fn clone(&self) -> RedirectMode
fn clone(&self) -> RedirectMode
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RedirectMode
impl RefUnwindSafe for RedirectMode
impl Send for RedirectMode
impl Sync for RedirectMode
impl Unpin for RedirectMode
impl UnwindSafe for RedirectMode
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