Expand description
Support of RMAN files, Riot manifest files
Use Rman to open an RMAN file and access its content.
An RMAN file is made of a header and multiple tables (bundles, file names, …).
When an instance is created, only the headers are read. Tables are then iterated on using the
iter_*() methods.
§Example: list files
let rman = Rman::open("example.manifest").expect("failed to open or read headers");
// Directories are listed separately from files and their basenames
let dir_paths = rman.dir_paths();
// Iterate on files, print the full paths
for file in rman.iter_files() {
println!("{}", file.path(&dir_paths));
}Structs§
- Bundle
Chunk - Chunk, associated to a bundle
- Bundle
Entry - Bundle information from RMAN
- Chunk
Entry - Chunk information from RMAN
- Directory
Entry - Directory defined in RMAN
- File
Chunk Range - Data byte range for an RMAN file
- File
Chunks Iter - An iterator over the chunks of an RMAN file
- File
Entry - File information from RMAN
- File
Flag Entry - File flag defined in RMAN
- File
Flag Set - Set of RMAN file flags, as a bitmask
- Offset
Table Iter - An iterator over invidual entries of an RMAN table
- Rman
- Riot manifest file
Enums§
- Rman
Error - Error in an RMAN file
Type Aliases§
- Bundle
Chunks - Map chunk IDs to their data
- DirPaths
- Map directory ID to full paths
- File
Bundle Ranges - Chunk data information for an RMAN file