• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 mod descriptor;
6 mod event;
7 mod file;
8 mod io_driver;
9 mod seqpacket;
10 
11 pub use descriptor::*;
12 pub use event::*;
13 pub use file::*;
14 pub use seqpacket::*;
15 
16 use crate::executor;
17 
18 #[inline]
platform_state() -> anyhow::Result<impl executor::PlatformState>19 pub(crate) fn platform_state() -> anyhow::Result<impl executor::PlatformState> {
20     io_driver::platform_state()
21 }
22