pub struct Invoke<R: Runtime = Wry> {
pub message: InvokeMessage<R>,
pub resolver: InvokeResolver<R>,
pub acl: Option<Vec<ResolvedCommand>>,
}
Expand description
The message and resolver given to a custom command.
This struct is used internally by macros and is explicitly NOT stable.
Fields§
§message: InvokeMessage<R>
The message passed.
resolver: InvokeResolver<R>
The resolver of the message.
acl: Option<Vec<ResolvedCommand>>
Resolved ACL for this IPC invoke.
Auto Trait Implementations§
impl<R> Freeze for Invoke<R>where
<R as Runtime<EventLoopMessage>>::WebviewDispatcher: Freeze,
<R as Runtime<EventLoopMessage>>::Handle: Freeze,
impl<R = Wry<EventLoopMessage>> !RefUnwindSafe for Invoke<R>
impl<R> Send for Invoke<R>
impl<R> Sync for Invoke<R>
impl<R> Unpin for Invoke<R>where
<R as Runtime<EventLoopMessage>>::WebviewDispatcher: Unpin,
<R as Runtime<EventLoopMessage>>::Handle: Unpin,
impl<R = Wry<EventLoopMessage>> !UnwindSafe for Invoke<R>
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