Searched refs:StandardStreamLock (Results 1 – 2 of 2) sorted by relevance
410 pub struct StandardStreamLock<'a> { struct483 pub fn lock(&self) -> StandardStreamLock<'_> { in lock()484 StandardStreamLock::from_stream(self) in lock()488 impl<'a> StandardStreamLock<'a> { impl490 fn from_stream(stream: &StandardStream) -> StandardStreamLock<'_> { in from_stream()499 StandardStreamLock { wtr: stream.wtr.wrap(locked) } in from_stream()503 fn from_stream(stream: &StandardStream) -> StandardStreamLock { in from_stream() argument519 StandardStreamLock { wtr: stream.wtr.wrap(locked) } in from_stream()639 impl<'a> io::Write for StandardStreamLock<'a> { implementation651 impl<'a> WriteColor for StandardStreamLock<'a> { implementation
32 `StandardStream` and `StandardStreamLock` both satisfy `WriteColor` and are