Enum clio::SizedOutput [−][src]
Expand description
A builder for Output that allows setting the size before writing. This is mostly usefull with the “http” feature for setting the Content-Length header
Variants
Stdout(Stdout)
Tuple Fields of Stdout
0: Stdout
Implementations
Contructs a new output either by opening/creating the file or for ‘-’ returning stdout
Contructs a new output either by opening/creating the file or for ‘-’ returning stdout The error is converted to a OsString so that stuctopt can show it to the user
set the length of the file, either as the content-length header of the http put