Add a todo about parking_lot
This commit is contained in:
parent
486fc67a4b
commit
64cf04a77d
|
@ -29,6 +29,8 @@ pub use serde_json::to_vec as serialize_field;
|
||||||
|
|
||||||
/// The functinoality needed for persisting a field to the plugin's state, and for restoring values
|
/// The functinoality needed for persisting a field to the plugin's state, and for restoring values
|
||||||
/// when loading old state.
|
/// when loading old state.
|
||||||
|
///
|
||||||
|
/// TODO: Replace uses of standard library synchronization primitives with parking_lot's
|
||||||
pub trait PersistentField<'a, T>: Send + Sync
|
pub trait PersistentField<'a, T>: Send + Sync
|
||||||
where
|
where
|
||||||
T: serde::Serialize + serde::Deserialize<'a>,
|
T: serde::Serialize + serde::Deserialize<'a>,
|
||||||
|
|
Loading…
Reference in a new issue