Trait cluExtIO::ExtWrite

source ·
pub trait ExtWrite<'a>: Write {
    type LockWrite: Write + 'a;

    fn lock(&'a self) -> Self::LockWrite;

    fn lock_fn<F: FnMut(Self::LockWrite) -> R, R>(&'a self, f: F) -> R { ... }
}
Expand description

The trait extends the capabilities of the standard Write.

Required Associated Types

Required Methods

Blocking the output stream.

Provided Methods

Alternative method of blocking the output stream using the closure.

Implementations on Foreign Types

The trait extends the capabilities of the standard Write.

Blocking the output stream.

Alternative method of blocking the output stream using the closure.

The trait extends the capabilities of the standard Write.

Blocking the output stream.

Alternative method of blocking the output stream using the closure.

Implementors