diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-03-03 11:43:22 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-03-05 23:32:41 +0100 |
| commit | 78a1f9c09b78e9e3cb5d77eb893f2d05000a119a (patch) | |
| tree | 8a44bfa2e4ebae38e50974c7245065a6ccff6764 | |
| parent | 5d6eacfbee0491c0525f5bf400426c2505e6dd9a (diff) | |
| download | mullvadvpn-78a1f9c09b78e9e3cb5d77eb893f2d05000a119a.tar.xz mullvadvpn-78a1f9c09b78e9e3cb5d77eb893f2d05000a119a.zip | |
Add docs for queue_main
| -rw-r--r-- | installer-downloader/src/delegate.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installer-downloader/src/delegate.rs b/installer-downloader/src/delegate.rs index 40d54efc3f..bc3e4bf84c 100644 --- a/installer-downloader/src/delegate.rs +++ b/installer-downloader/src/delegate.rs @@ -110,5 +110,6 @@ pub struct ErrorMessage { /// Schedules actions on the UI thread from other threads pub trait AppDelegateQueue<T: ?Sized>: Send { + /// Schedule action on the UI thread from other threads fn queue_main<F: FnOnce(&mut T) + 'static + Send>(&self, callback: F); } |
