fidl_data_zbi/
reboot.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// DO NOT EDIT.
// Generated from FIDL library `zbi` by zither, a Fuchsia platform tool.

#![allow(unused_imports)]

use zerocopy::IntoBytes;

/// ZBI_TYPE_HW_REBOOT_REASON payload.
#[repr(u32)]
#[derive(Clone, Copy, Debug, Eq, IntoBytes, PartialEq)]
pub enum HwRebootReason {
    Undefined = 0,
    Cold = 1,
    Warm = 2,
    Brownout = 3,
    Watchdog = 4,
}