Available on crate feature
alloc
only.Expand description
Low-level PEM decoding APIs.
These APIs allow decoding PEM format in an iterator, which means you can load multiple different types of PEM section from a file in a single pass.
Structs§
- Read
Iter std
Extract and return all PEM sections by readingrd
. - Iterator over all PEM sections in a
&[u8]
slice.
Enums§
- Errors that may arise when parsing the contents of a PEM file
- A single recognised section in a PEM file.
Traits§
- Items that can be decoded from PEM data.
Functions§
- from_
buf std
Extract and decode the next supported PEM section fromrd
.