Enum surf_n_term::terminal::TerminalAction [−][src]
pub enum TerminalAction<R> { Quit(R), Wait, Sleep(Duration), }
Object returned by handler function inside run method.
Variants
Quit run method with result R
Wait for the next event from terminal
Sleep(Duration)
Wait for the next event with the provided timeout
Auto Trait Implementations
impl<R> RefUnwindSafe for TerminalAction<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for TerminalAction<R> where
R: Send,
R: Send,
impl<R> Sync for TerminalAction<R> where
R: Sync,
R: Sync,
impl<R> Unpin for TerminalAction<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for TerminalAction<R> where
R: UnwindSafe,
R: UnwindSafe,