pub enum RedirectMode {
Read,
ReadOrNull,
ReadFd,
Write,
WriteNoClobber,
Append,
WriteFd,
}Variants§
Implementations§
Source§impl RedirectMode
impl RedirectMode
pub fn default_port(self) -> RedirectPort
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 moreSource§impl Debug for RedirectMode
impl Debug for RedirectMode
Source§impl PartialEq for RedirectMode
impl PartialEq for RedirectMode
impl Copy for RedirectMode
impl StructuralPartialEq for RedirectMode
Auto 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