mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 12:10:24 +00:00
scx_stats: ScxStatsOps fields must be public
This commit is contained in:
parent
27c530e17e
commit
17a460c179
@ -67,8 +67,8 @@ pub trait StatsCloser<Req, Res>: FnOnce((&Sender<Req>, &Receiver<Res>)) + Send {
|
||||
impl<Req, Res, T: FnOnce((&Sender<Req>, &Receiver<Res>)) + Send> StatsCloser<Req, Res> for T {}
|
||||
|
||||
pub struct ScxStatsOps<Req, Res> {
|
||||
open: Box<dyn StatsOpener<Req, Res>>,
|
||||
close: Option<Box<dyn StatsCloser<Req, Res>>>,
|
||||
pub open: Box<dyn StatsOpener<Req, Res>>,
|
||||
pub close: Option<Box<dyn StatsCloser<Req, Res>>>,
|
||||
}
|
||||
|
||||
struct ScxStatsOpenOps<Req, Res> {
|
||||
|
Loading…
Reference in New Issue
Block a user