Skip to content

Commit 58060fd

Browse files
committed
fix: add UnwindSafe bounds to TempFileFactory
1 parent f77b07c commit 58060fd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

datafusion/execution/src/spill_file.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ pub trait SpillWriter: Send {
6666
}
6767

6868
/// Factory for creating spill files.
69-
pub trait TempFileFactory: Send + Sync {
69+
pub trait TempFileFactory:
70+
Send + Sync + std::panic::UnwindSafe + std::panic::RefUnwindSafe
71+
{
7072
fn create_temp_file(&self, description: &str) -> Result<Arc<dyn SpillFile>>;
7173
}

0 commit comments

Comments
 (0)