Struct eu4save::Eu4ExtractorBuilder [−][src]
pub struct Eu4ExtractorBuilder { /* fields omitted */ }
Expand description
Customize how a save is extracted
Implementations
Set the memory allocation extraction behavior for when a zip is encountered
Set the behavior for when an unresolved binary token is encountered
Extract just the metadata from the save. This can be efficiently done if a file is zip encoded.
Extract all info from a save
pub fn extract_meta_optimistic<R>(
&self,
reader: R
) -> Result<(Eu4SaveMeta, Encoding), Eu4Error> where
R: Read + Seek,
pub fn extract_meta_optimistic<R>(
&self,
reader: R
) -> Result<(Eu4SaveMeta, Encoding), Eu4Error> where
R: Read + Seek,
For the times where all you want is the metadata but will accept the game state too save on future needless double parsing.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Eu4ExtractorBuilder
impl Send for Eu4ExtractorBuilder
impl Sync for Eu4ExtractorBuilder
impl Unpin for Eu4ExtractorBuilder
impl UnwindSafe for Eu4ExtractorBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more