Crate palmdb [] [src]

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

RecordInfo

Metadata for a specific record

Enums

ErrorKind

The kind of an error.

Traits

ResultExt

Additional methods for Result, for easy interaction with this crate.

Type Definitions

Result

Convenient wrapper around std::Result.