reverie/reverie-examples/strace/global_state.rs
Jason White 20c7020868 Appease the copyright linter
Summary: The OSS license linter doesn't like the word "its".

Reviewed By: johnhurt

Differential Revision: D36856385

fbshipit-source-id: 909037d96de8976f08004497d28b77838f8c6870
2022-06-02 11:51:06 -07:00

23 lines
536 B
Rust

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