pub struct MemoryReadGuard<'a>(_);
Expand description

Holds the lock on read operations of a MemoryTerminal.

Trait Implementations

Waits timeout for user input. If timeout is None, waits indefinitely. Read more
Prepares the terminal for line reading and editing operations. Read more
Like prepare, but called when the write lock is already held. Read more
Restores the terminal state using the given state data.
Like restore, but called when the write lock is already held. Read more
Reads some input from the terminal and appends it to the given buffer.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.