pub enum ExecuteResult {
Success(String),
Error(ExecuteError),
Effect(Effect),
}Expand description
Result of plugin execution
Variants§
Success(String)
Successful execution with output
Error(ExecuteError)
Execution failed
Effect(Effect)
Request host to perform an effect (async I/O)
The plugin yields control to the host, which performs the
requested operation and calls plugin_resume with the result.
Implementations§
Source§impl ExecuteResult
impl ExecuteResult
Source§impl ExecuteResult
impl ExecuteResult
Trait Implementations§
Source§impl Clone for ExecuteResult
impl Clone for ExecuteResult
Source§fn clone(&self) -> ExecuteResult
fn clone(&self) -> ExecuteResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecuteResult
impl Debug for ExecuteResult
Source§impl<'de> Deserialize<'de> for ExecuteResult
impl<'de> Deserialize<'de> for ExecuteResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecuteResult
impl RefUnwindSafe for ExecuteResult
impl Send for ExecuteResult
impl Sync for ExecuteResult
impl Unpin for ExecuteResult
impl UnwindSafe for ExecuteResult
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