reverie/reverie-examples/strace/global_state.rs
Jason White 1bbfa8a5a2 Update copyright headers
Reviewed By: johnhurt

Differential Revision: D36727878

fbshipit-source-id: 2529052f6a81fb5a177ccdba51b7e0051577c148
2022-05-27 09:51:26 -07:00

23 lines
540 B
Rust

/*
* Copyright (c) Meta Platforms, 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) {}
}