Skip to content

Commit c551652

Browse files
committed
speculative execution Context: mark as non_exhaustive
We may want to add more stuff to it in the future.
1 parent 3a2d8f9 commit c551652

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scylla/src/policies/speculative_execution.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use crate::errors::{RequestAttemptError, RequestError};
1212
use crate::observability::metrics::Metrics;
1313

1414
/// Context is passed as an argument to `SpeculativeExecutionPolicy` methods
15+
#[non_exhaustive]
1516
pub struct Context {
1617
#[cfg(feature = "metrics")]
1718
pub metrics: Arc<Metrics>,

0 commit comments

Comments
 (0)