enum Sink! { ... }
Where an Output! writes: standard output or error, which it does not own and never closes, or a file it owns and closes on finish.
Methods
method descriptorsource
fn descriptor(&self) -> i32 { ... }
The descriptor written to.
method closesource
fn close(self) -> Result[(), Error] { ... }
Closes the file, reporting a failed close(2); a stream stays open.