fidl_data_zx/
iob.rs

1// Copyright 2022 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// DO NOT EDIT.
6// Generated from FIDL library `zx` by zither, a Fuchsia platform tool.
7
8#![allow(unused_imports)]
9
10use zerocopy::{FromBytes, IntoBytes};
11
12use crate::stream::*;
13use crate::zx_common::*;
14
15/// zx_iob_allocate_id() options.
16#[repr(C)]
17#[derive(IntoBytes, FromBytes, Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
18pub struct IobAllocateIdOptions(u32);
19
20bitflags::bitflags! {
21    impl IobAllocateIdOptions : u32 {
22  }
23}
24
25#[repr(C)]
26#[derive(IntoBytes, FromBytes, Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
27pub struct IobWriteOptions(u64);
28
29bitflags::bitflags! {
30    impl IobWriteOptions : u64 {
31  }
32}