pub trait Lockable {
type Locked;
// Required method
fn lock(self) -> Self::Locked;
}
Expand description
Explicitly lock a std::io::Write
able
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl<S> Lockable for Console<S>where
S: RawStream + Lockable,
<S as Lockable>::Locked: RawStream,
Available on Windows and crate feature wincon
only.
impl<S> Lockable for Console<S>where S: RawStream + Lockable, <S as Lockable>::Locked: RawStream,
Available on Windows and crate feature
wincon
only.