#[non_exhaustive]pub enum TerminalError {
InputAfterFinish,
InputAfterComplete,
}Expand description
Illegal call against a successfully completed state.
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.
InputAfterFinish
New input was supplied after finalization began but before output drained.
InputAfterComplete
New input was supplied after successful completion.
Implementations§
Trait Implementations§
Source§impl Clone for TerminalError
impl Clone for TerminalError
Source§fn clone(&self) -> TerminalError
fn clone(&self) -> TerminalError
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 moreimpl Copy for TerminalError
Source§impl Debug for TerminalError
impl Debug for TerminalError
impl Eq for TerminalError
Source§impl Hash for TerminalError
impl Hash for TerminalError
Source§impl PartialEq for TerminalError
impl PartialEq for TerminalError
impl StructuralPartialEq for TerminalError
Auto Trait Implementations§
impl Freeze for TerminalError
impl RefUnwindSafe for TerminalError
impl Send for TerminalError
impl Sync for TerminalError
impl Unpin for TerminalError
impl UnsafeUnpin for TerminalError
impl UnwindSafe for TerminalError
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