Enum deno_task_shell::ShellPipeWriter
source · pub enum ShellPipeWriter {
OsPipe(PipeWriter),
StdFile(File),
Stdout,
Stderr,
Null,
}
Expand description
Writer side of a pipe.
Ensure that all of these are dropped when complete in order to prevent deadlocks where the reader hangs waiting for a read.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ShellPipeWriter
impl Send for ShellPipeWriter
impl Sync for ShellPipeWriter
impl Unpin for ShellPipeWriter
impl UnwindSafe for ShellPipeWriter
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