block_protocol/lib.rs
1// Copyright 2024 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
5use bitflags::bitflags;
6
7mod fifo;
8
9pub use fifo::*;
10
11bitflags! {
12 /// Options that may be used for writes.
13 #[repr(transparent)]
14 #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
15 pub struct WriteOptions: u32 {
16 const FORCE_ACCESS = 1;
17 }
18}