Struct ethcore::snapshot::io::PackedReader
[−]
[src]
pub struct PackedReader { /* fields omitted */ }
Packed snapshot reader.
Methods
impl PackedReader
[src]
impl PackedReader
pub fn new(path: &Path) -> Result<Option<Self>, Error>
[src]
pub fn new(path: &Path) -> Result<Option<Self>, Error>
Create a new PackedReader
for the file at the given path.
This will fail if any io errors are encountered or the file
is not a valid packed snapshot.
Trait Implementations
impl SnapshotReader for PackedReader
[src]
impl SnapshotReader for PackedReader
Auto Trait Implementations
impl Send for PackedReader
impl Send for PackedReader
impl Sync for PackedReader
impl Sync for PackedReader