pub enum CommandResult {
Success(Option<String>),
Error(String),
Async(String),
}Expand description
Result of a plugin command execution
Variants§
Success(Option<String>)
Command completed successfully with optional message
Error(String)
Command failed with error message
Async(String)
Command started async work (message describes what’s happening)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandResult
impl RefUnwindSafe for CommandResult
impl Send for CommandResult
impl Sync for CommandResult
impl Unpin for CommandResult
impl UnwindSafe for CommandResult
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