pub enum CopyTarget {
Stdin,
Stdout,
File {
filename: String,
},
Program {
command: String,
},
}Expand description
Target for the COPY command: STDIN, STDOUT, a file, or a program.
Variants§
Stdin
Use standard input as the source.
Stdout
Use standard output as the target.
File
Read from or write to a file.
Program
Use a program as the source or target (shell command).