Struct std::io::Stderr 1.0.0[−][src]
pub struct Stderr { /* fields omitted */ }
Expand description
进程的标准错误流的句柄。
有关更多信息,请参见 io::stderr
方法。
Note: Windows 可移植性注意事项
在控制台中操作时,此流的 Windows 实现不支持非 UTF-8 字节序列。 尝试写入无效的 UTF-8 字节将返回错误。
Implementations
pub fn lock(&self) -> StderrLock<'_>ⓘNotable traits for StderrLock<'_>impl Write for StderrLock<'_>
[src]
pub fn lock(&self) -> StderrLock<'_>ⓘNotable traits for StderrLock<'_>impl Write for StderrLock<'_>
[src]Notable traits for StderrLock<'_>
impl Write for StderrLock<'_>
pub fn into_locked(self) -> StderrLock<'static>ⓘNotable traits for StderrLock<'_>impl Write for StderrLock<'_>
[src]
pub fn into_locked(self) -> StderrLock<'static>ⓘNotable traits for StderrLock<'_>impl Write for StderrLock<'_>
[src]Notable traits for StderrLock<'_>
impl Write for StderrLock<'_>
Trait Implementations
This is supported on Unix only.
This is supported on WASI only.
This is supported on Windows only.
提取原始句柄,无需任何所有权。
将格式化的字符串写入此 writer,返回遇到的任何错误。 Read more
将格式化的字符串写入此 writer,返回遇到的任何错误。 Read more