Skip to content

Commit

Permalink
add clone for timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
gn64 committed Mar 27, 2024
1 parent 0538cbd commit 42d4dd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ pub trait Callbacks {
}

/// Callbacks implementing a simple timeout.
#[derive(Clone)]
pub struct Timeout {
pub started: Instant,
pub timeout: f32,
Expand Down

0 comments on commit 42d4dd1

Please sign in to comment.