StandardError structv0.1.0
Standard error: the same contract as standard output, on the stream reports belong to.
pub struct StandardError {
// private fields
}
Associated functions
Acquire
pub func Acquire() -> StandardError
The process's standard error.
Returns: the stream, which the process owns for its whole life
Implements Writer
StandardError conforms to Writer.
Write
pub func Write(
self: &var StandardError,
bytes: char8[..]
) -> uint ! IoError
Writes what it can of bytes to standard error.
| Name | Type | Description |
|---|---|---|
bytes | char8[..] | the bytes to write |
Returns: how many bytes were taken
Flush
pub func Flush(self: &var StandardError) -> ! IoError
Nothing: these writes hold nothing back.
Returns: success, since everything written already reached the system