Struct barc::BarcFile[][src]

pub struct BarcFile { /* fields omitted */ }
Expand description

Reference to a BARC File by Path, supporting up to 1 writer and N readers concurrently.

Implementations

Return new instance for the specified path, which may be an existing file, or one to be created when writer is opened.

Get a writer for this file, opening the file for write (and possibly creating it, or erroring) if this is the first time called. May block on the write lock, as only one BarcWriter instance is allowed.

Get a reader for this file. Errors if the file does not exist.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.