Skip to content

Commit acdbad5

Browse files
committed
feat: derive Clone
1 parent e3a61a2 commit acdbad5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bitwarden-threading/src/thread_bound_runner.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub struct CallError(String);
4646
/// This pattern is useful for interacting with APIs or data structures that must remain
4747
/// on the same thread, such as GUI toolkits, WebAssembly contexts, or other thread-bound
4848
/// environments.
49+
#[derive(Clone)]
4950
pub struct ThreadBoundRunner<ThreadState> {
5051
call_channel_tx: tokio::sync::mpsc::Sender<CallRequest<ThreadState>>,
5152
}

0 commit comments

Comments
 (0)