Struct ole::OLEEntry [] [src]

pub struct OLEEntry { /* fields omitted */ }

An entry in an OLE file.

An entry means a stream or a storage. A stream is a file, and a storage is a folder.

Basic Example

use ole::OLEReader;

let mut parser =
      OLEReader::<std::fs::File>::from_path("assets/Thumbs.db").unwrap();

let entry = parser.iterate().next().unwrap();
println!("Name of the entry: {}", entry.name());
println!("Type of the entry: {}", entry._type());
println!("Size of the entry: {}", entry.len());

Methods

impl OLEEntry
[src]

[src]

Returns the ID of the entry.

[src]

Returns the creation time of the entry, if defined (i.e. not zero).

[src]

Returns the last modification time of the entry, if defined (i.e. not zero).

[src]

Returns the name of the entry.

[src]

Return the type of the entry.

[src]

Return the size of the entry

Trait Implementations

impl Debug for OLEEntry
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for OLEEntry
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for OLEEntry

impl Sync for OLEEntry