pub struct InvokeRequest {
pub cmd: String,
pub callback: CallbackFn,
pub error: CallbackFn,
pub url: Url,
pub body: InvokeBody,
pub headers: HeaderMap,
pub invoke_key: String,
}Expand description
The IPC invoke request.
§Stability
This struct is NOT part of the public stable API and is only meant to be used by internal code and external testing/fuzzing tools or custom invoke systems.
Fields§
§cmd: StringThe invoke command.
callback: CallbackFnThe success callback.
error: CallbackFnThe error callback.
url: UrlURL of the frame that requested this command.
body: InvokeBodyThe body of the request.
headers: HeaderMapThe request headers.
invoke_key: StringThe invoke key. Must match what was passed to the app manager.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InvokeRequest
impl RefUnwindSafe for InvokeRequest
impl Send for InvokeRequest
impl Sync for InvokeRequest
impl Unpin for InvokeRequest
impl UnwindSafe for InvokeRequest
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