pub struct ExportCommand;Expand description
Handler for /export command.
Parses the path argument (pi-compatible) and returns ExportSession result.
Trait Implementations§
Source§impl CommandHandler for ExportCommand
impl CommandHandler for ExportCommand
Source§fn execute(&self, args: &str) -> Result<CommandResult>
fn execute(&self, args: &str) -> Result<CommandResult>
Execute the command with the given arguments string.
Source§fn argument_completions(&self, _prefix: &str) -> Vec<AutocompleteItem>
fn argument_completions(&self, _prefix: &str) -> Vec<AutocompleteItem>
Get argument completions for autocomplete.
Called when user types
/cmd - returns matching autocomplete items.Auto Trait Implementations§
impl Freeze for ExportCommand
impl RefUnwindSafe for ExportCommand
impl Send for ExportCommand
impl Sync for ExportCommand
impl Unpin for ExportCommand
impl UnsafeUnpin for ExportCommand
impl UnwindSafe for ExportCommand
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