Enum tauri::InvokeResponse [−][src]
pub enum InvokeResponse { Ok(JsonValue), Err(InvokeError), }
Expand description
Response from a InvokeMessage
passed to the InvokeResolver
.
Variants
Ok(JsonValue)
Resolve the promise.
Err(InvokeError)
Reject the promise.
Implementations
Turn a InvokeResponse
back into a serializable result.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for InvokeResponse
impl Send for InvokeResponse
impl Sync for InvokeResponse
impl Unpin for InvokeResponse
impl UnwindSafe for InvokeResponse