Expand description
Parser for the PalmDB format
This was created using a spec at the MobileRead wiki here: https://wiki.mobileread.com/…, as well as from the Calibre implementation here: https://github.com/kovidgoyal/calibre/…
§Example
ⓘ
extern crate palmdb;
use palmdb::PalmDB;
use std::fs::File;
use std::io::Read;
let mut db_file = File::open("/path/to/some/palmdb/file")?;
let mut input = vec![];
db_file.read_to_end(&mut input)?;
let db = PalmDB::parse(&input).expect("Couldn't parse DB");
Structs§
- Error
- The Error type.
- PalmDB
- Represents a parsed PalmDB
- Record
Info - Metadata for a specific record
Enums§
- Error
Kind - The kind of an error.
Traits§
- Result
Ext - Additional methods for
Result
, for easy interaction with this crate.
Type Aliases§
- Result
- Convenient wrapper around
std::Result
.