Struct linefeed::memory::MemoryReadGuard [] [src]

pub struct MemoryReadGuard<'a>(_);

Holds the lock on read operations of a MemoryTerminal.

Trait Implementations

impl<'a> TerminalReader<MemoryTerminal> for MemoryReadGuard<'a>
[src]

[src]

Waits timeout for user input. If timeout is None, waits indefinitely. Read more

[src]

Prepares the terminal for line reading and editing operations. Read more

[src]

Like prepare, but called when the write lock is already held. Read more

[src]

Restores the terminal state using the given state data.

[src]

Like restore, but called when the write lock is already held. Read more

[src]

Reads some input from the terminal and appends it to the given buffer.

Auto Trait Implementations

impl<'a> !Send for MemoryReadGuard<'a>

impl<'a> Sync for MemoryReadGuard<'a>