Struct ole::Entry [] [src]

pub struct Entry { /* 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::Reader;

let mut parser =
      Reader::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 Entry
[src]

[src]

Returns the ID of the entry.

[src]

Returns the creation time of the entry (could be 0)

[src]

Returns the last modification time of the entry (could be 0)

[src]

Returns the name of the entry.

[src]

Returns the type of the entry.

[src]

Returns the size of the entry

[src]

Returns the DirID of the left child node

[src]

Returns the DirID of the right child node

[src]

Returns the DirID of the parent, if exists

[src]

Returns the DirIDs of the children, if exists

Trait Implementations

impl Debug for Entry
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Entry
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Entry

impl Sync for Entry