Add Send + Sync to slot_clock
This commit is contained in:
parent
b87ff828ef
commit
3106d28bfa
@ -4,7 +4,7 @@ mod testing_slot_clock;
|
||||
pub use crate::system_time_slot_clock::{Error as SystemTimeSlotClockError, SystemTimeSlotClock};
|
||||
pub use crate::testing_slot_clock::{Error as TestingSlotClockError, TestingSlotClock};
|
||||
|
||||
pub trait SlotClock {
|
||||
pub trait SlotClock: Send + Sync {
|
||||
type Error;
|
||||
|
||||
fn present_slot(&self) -> Result<Option<u64>, Self::Error>;
|
||||
|
Loading…
Reference in New Issue
Block a user