pub enum RawRead {
    Bytes(usize),
    Resize(Size),
    Signal(Signal),
}
Expand description

Represents the result of a Terminal read operation

Variants

Bytes(usize)

n bytes were read from the device

Resize(Size)

The terminal window was resized

Signal(Signal)

A signal was received while waiting for input

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.