Skip to main content

executor_bindings/
executor_bindings.rs

1// Copyright 2026 The Fuchsia 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// This file is automatically generated by //zircon/kernel/object:_kernel_bindgen_crate.executor-bindings.bindgen.
6
7#![no_std]
8
9#[derive(PartialEq, Eq, Copy, Clone, Debug, Hash)]
10#[repr(C, align(8))]
11pub struct __BindgenOpaqueArray8<T>(pub T);
12impl<T: Copy + Default, const N: usize> Default for __BindgenOpaqueArray8<[T; N]> {
13    fn default() -> Self {
14        Self([<T as Default>::default(); N])
15    }
16}
17pub type HandleOwner = __BindgenOpaqueArray8<[u8; 8usize]>;
18#[repr(C)]
19#[repr(align(8))]
20#[derive(Debug, Copy, Clone)]
21pub struct MemoryWatchdog {
22    pub _bindgen_opaque_blob: __BindgenOpaqueArray8<[u8; 304usize]>,
23}
24#[repr(C)]
25#[derive(Debug)]
26pub struct Executor {
27    pub root_job_: __BindgenOpaqueArray8<[u8; 8usize]>,
28    pub root_job_handle_: HandleOwner,
29    pub root_job_observer_: __BindgenOpaqueArray8<[u8; 8usize]>,
30    pub memory_watchdog_: MemoryWatchdog,
31}