Skip to main content

mapping/
lib.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
5pub mod blob;
6pub mod extents;
7pub mod pager;
8pub mod protocol;
9pub mod reader;
10
11#[cfg(test)]
12pub mod testing;
13
14pub use blob::{Blob, Blobs};
15pub use extents::{Extent, Extents, ExtentsIterator};
16pub use pager::{PagerThread, run_pager_loop};
17pub use protocol::{CLOSE_BLOB_COMMAND, MAPPINGS_COMMAND, MappingCommand, RawMappingCommand};
18
19pub const BLOCK_SIZE: u64 = 4096;