pub enum Function {
Show 90 variants
Quit,
Abort,
Down,
Up,
PageDown,
PageUp,
First,
Last,
View,
Delete,
Undelete,
Flag,
ToggleNew,
MarkAllRead,
Sync,
Compose,
Reply,
GroupReply,
ListReply,
Forward,
Sort,
Limit,
Search,
SearchReverse,
SearchNext,
NextNew,
PrevNew,
ChangeMailbox,
ChangeMailboxReadOnly,
Folders,
Attachments,
FoldThread,
FoldAll,
Print,
Tag,
TagPrefix,
DeleteThread,
UndeleteThread,
TagThread,
DeleteSubthread,
UndeleteSubthread,
NextThread,
PrevThread,
BreakThread,
LinkThreads,
ReadThread,
ReadSubthread,
TagSubthread,
ParentMessage,
RootMessage,
EditLabel,
ShowVersion,
ShowLimit,
ToggleWrite,
DisplayAddress,
PageTop,
PageMiddle,
PageBottom,
Undo,
DeletePattern,
UndeletePattern,
TagPattern,
UntagPattern,
FetchMail,
Save,
Copy,
DecodeSave,
DecodeCopy,
Pipe,
Bounce,
Resend,
Edit,
SidebarToggle,
SidebarNext,
SidebarPrev,
SidebarOpen,
CreateAlias,
Query,
Notmuch,
EnterCommand,
Shell,
Redraw,
Suspend,
Help,
NextUnreadMailbox,
PurgeMessage,
MarkMessage,
ErrorHistory,
WhatKey,
ListAction,
}Expand description
One thing the index can be told to do, under the name mutt gives
it. A front end binds keys or menu items to these; bind and
:exec name them straight out.
Variants§
Quit
Abort
Down
Up
PageDown
PageUp
First
Last
View
Delete
Undelete
Flag
ToggleNew
MarkAllRead
Every message in the mailbox marked read, one undo step. mutt never had this; asked for (2026-09-01).
Sync
Compose
Reply
GroupReply
ListReply
Forward
Sort
Limit
Search
SearchReverse
SearchNext
NextNew
PrevNew
ChangeMailbox
ChangeMailboxReadOnly
Folders
Attachments
FoldThread
FoldAll
Tag
TagPrefix
DeleteThread
UndeleteThread
TagThread
DeleteSubthread
UndeleteSubthread
NextThread
PrevThread
BreakThread
LinkThreads
ReadThread
ReadSubthread
TagSubthread
ParentMessage
RootMessage
EditLabel
ShowVersion
ShowLimit
ToggleWrite
DisplayAddress
PageTop
PageMiddle
PageBottom
Undo
DeletePattern
UndeletePattern
TagPattern
UntagPattern
FetchMail
Save
Copy
DecodeSave
DecodeCopy
Pipe
Bounce
Resend
Edit
SidebarToggle
SidebarNext
SidebarPrev
SidebarOpen
CreateAlias
Query
Notmuch
EnterCommand
Shell
Redraw
Suspend
Help
NextUnreadMailbox
mutt’s next-unread-mailbox: open the next configured mailbox holding new mail.
PurgeMessage
mutt’s purge-message: delete, bypassing $trash.
MarkMessage
mutt’s mark-message: a hotkey that jumps back here.
ErrorHistory
mutt’s error-history: the recent complaints on a screen.
WhatKey
mutt’s what-key: say what the next keys are.
ListAction
mutt’s list-action: RFC 2369 List-* actions of the message.
Implementations§
Source§impl Function
impl Function
pub fn name(self) -> &'static str
pub fn describe(self) -> &'static str
Sourcepub fn all() -> &'static [Function]
pub fn all() -> &'static [Function]
Every function, in the order the help screen and a menu bar want them.
pub fn from_name(name: &str) -> Option<Function>
Sourcepub fn takes_tagged(self) -> bool
pub fn takes_tagged(self) -> bool
Which functions ; (tag-prefix) can hand the tagged set to.
The rest say so rather than quietly acting on one message:
resend and edit open a draft or an editor, of which rmut has
one at a time.
Trait Implementations§
impl Copy for Function
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Function
impl UnwindSafe for Function
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.