Expand description
Getting bytes in, recognising what they are, and the contract readers meet.
Structs§
- Batch
Continuity - Whether hierarchy rows continue across adjacent batches.
- Byte
Window - One stable view into a source.
- Input
Buffer - Bytes to read, however they were obtained.
- Limits
- Ceilings that turn hostile input into diagnostics rather than exhaustion.
- Output
Options - Working-memory policy for incremental output.
- Output
Sink - A deterministic compressed or plain output stream.
- Read
Options - What a read should and should not bother doing.
- Select
All - A filter that writes everything.
- Spill
Windowed File - A bounded source backed by an immutable, automatically deleted spill file.
- Structure
Atom Record - One atom row accepted by
StructureBatchBuilder. - Structure
Batch - Bounded structure rows in a format-neutral layout.
- Structure
Batch Buffer - Finished structural columns whose backing allocations can be recycled.
- Structure
Batch Builder - Incremental builder that interns each distinct identifier once per batch.
- Structure
Batch Pool - One reusable columnar batch owned by a structural source.
- Text
Output - Adapts a byte writer for allocation-free
std::fmt::Writeformatting. - Windowed
File - A seekable file read through one reusable, budget-charged window.
Enums§
- Ambiguous
Residue Boundary Policy - Policy for adjacent mmCIF atom groups whose residue identifiers are identical.
- Compression
- How a stream of bytes was compressed.
- Continuity
Level - Deepest hierarchy level that continues across one batch boundary.
- Format
- A format molframe can read or write.
- Input
Kind - The storage that backs an input byte slice.
- Missing
Element Policy - Policy for atom rows whose format-specific element field is absent or invalid.
- Parse
Mode - How much irregularity a read tolerates, and what it does about it.
- Structure
Batch Error - Failure shared by bounded structural batch readers and collectors.
- Windowed
Source File - A seekable bounded source, with compressed input spooled only when the execution context explicitly permits temporary storage.
Constants§
- DEFAULT_
OUTPUT_ MEMORY_ LIMIT_ BYTES - Default ceiling for format-owned output workspace.
Traits§
- Reader
- A reader for one format.
- Select
- Which parts of a structure a write should include.
- Source
Bytes - Random-access bytes exposed through bounded, borrow-stable windows.
Functions§
- collect_
structure - Materialises a bounded snapshot from a structural batch source.
- write_
output - Writes existing bytes through the bounded incremental sink.
Type Aliases§
- Read
Result - A structure and everything that was wrong with the file it came from.