mirror of
https://github.com/facebookexperimental/reverie.git
synced 2024-11-28 17:41:24 +00:00
15d2f61411
fbshipit-source-id: c440d991296c92bdc5e109a11d269049e8840e94
23 lines
534 B
Rust
23 lines
534 B
Rust
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
use reverie::{GlobalTool, Pid};
|
|
|
|
use crate::config::Config;
|
|
|
|
#[derive(Debug, Default)]
|
|
pub struct GlobalState;
|
|
|
|
#[reverie::global_tool]
|
|
impl GlobalTool for GlobalState {
|
|
type Request = ();
|
|
type Response = ();
|
|
type Config = Config;
|
|
|
|
async fn receive_rpc(&self, _pid: Pid, _req: Self::Request) {}
|
|
}
|