Enum tauri::InvokeResponse [−][src]
pub enum InvokeResponse { Ok(JsonValue), Err(InvokeError), }
Expand description
Response from a InvokeMessage
passed to the InvokeResolver
.
Variants
Resolve the promise.
Tuple Fields of Ok
0: JsonValue
Reject the promise.
Tuple Fields of Err
0: InvokeError
Implementations
Turn a InvokeResponse
back into a serializable result.
Trait Implementations
Performs the conversion.
Performs the conversion.