Structs§
- Decompress
Reader - Glob
Matcher - Ignition
- Initrd
- Kargs
Editor - Limit
Reader - Limit
Writer - Peek
Reader - Sha256
Digest - TeeReader
- Reader wrapper that copies data to a writer as a side effect
- Verify
Reader - Write
Hasher - XzStream
Decoder - Zstd
Stream Decoder
Enums§
- Ignition
Hash - Ignition-style message digests
- Verify
Keys
Constants§
Functions§
- bincoder
- Provides uniform bincode options for all our serialization operations.
- copy_
exactly_ n - This is like
copy_n()but errors if the number of bytes copied is less than expected. - copy_n
- This is like
std::io:copy(), but limits the number of bytes copied over. TheReadtrait hastake(), but that takes ownership of the reader. We also take a buf to avoid re-initializing a block each time (std::io::copy() gets around this by using MaybeUninit, but that requires using nightly and unsafe functions). - is_
zstd_ magic - visit_
bls_ entry - Calls a function on the latest (default) BLS entry and optionally updates it if the function returns new content. Errors out if no BLS entry was found.
- visit_
bls_ entry_ options - Wrapper around
visit_bls_entryto specifically visit just the BLS entry’soptionsline and optionally update it if the function returns new content. Errors out if none or more than oneoptionsfield was found. Returnstrueif BLS content was modified.