Enum clio::Output [−][src]
Expand description
An enum that represents a command line output stream, either std out or a file
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
Syncs the file to disk or closes any HTTP connections and returns any errors or on the file if a regular file
Trait Implementations
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
Write a buffer into this writer, returning how many bytes were written. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more