pub enum Action {
Show 32 variants
HardQuit,
Quit,
Close,
Tick,
Render,
Up,
Down,
Left,
Right,
ScrollDownPage,
ScrollUpPage,
Home,
End,
Confirm,
Select,
ShowHelp,
ShowStats,
ShowFiles,
Search,
Pause,
DeleteWithoutFiles,
DeleteWithFiles,
SwitchToInputMode,
SwitchToNormalMode,
ChangeFocus,
AddMagnet,
MoveTorrent,
ChangeTab(u8),
Input(KeyEvent),
Error(Box<ErrorMessage>),
TaskPending(StatusTask),
TaskSuccess,
}Variants§
HardQuit
Quit
Close
Tick
Render
Up
Down
Left
Right
ScrollDownPage
ScrollUpPage
Home
End
Confirm
Select
ShowHelp
ShowStats
ShowFiles
Search
Pause
DeleteWithoutFiles
DeleteWithFiles
SwitchToInputMode
SwitchToNormalMode
ChangeFocus
AddMagnet
MoveTorrent
ChangeTab(u8)
Input(KeyEvent)
Error(Box<ErrorMessage>)
TaskPending(StatusTask)
TaskSuccess
Implementations§
Trait Implementations§
source§impl PartialEq for Action
impl PartialEq for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)