#[non_exhaustive]pub enum IoOperation {
EnterTerminal,
ReadEvent,
Render,
Cleanup,
}Expand description
The I/O boundary at which a prompt run failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EnterTerminal
Entering raw-mode terminal handling failed.
ReadEvent
Reading the next input event failed.
Render
Drawing or finishing the inline prompt failed.
Cleanup
Cleanup after an otherwise successful or cancelled run failed.
Trait Implementations§
Source§impl Clone for IoOperation
impl Clone for IoOperation
Source§fn clone(&self) -> IoOperation
fn clone(&self) -> IoOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoOperation
impl Debug for IoOperation
Source§impl Display for IoOperation
impl Display for IoOperation
Source§impl PartialEq for IoOperation
impl PartialEq for IoOperation
Source§fn eq(&self, other: &IoOperation) -> bool
fn eq(&self, other: &IoOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IoOperation
impl Eq for IoOperation
impl StructuralPartialEq for IoOperation
Auto Trait Implementations§
impl Freeze for IoOperation
impl RefUnwindSafe for IoOperation
impl Send for IoOperation
impl Sync for IoOperation
impl Unpin for IoOperation
impl UnsafeUnpin for IoOperation
impl UnwindSafe for IoOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more