Struct hypercore::Feed [] [src]

pub struct Feed {
    pub path: PathBuf,
}

Append-only log structure.

Fields

Location on disk of where to persist the archive.

Methods

impl Feed
[src]

[src]

Create a new instance with an on-disk storage backend.

[src]

Create a new instance with a custom storage backend.

[src]

Append data into the log.

[src]

Retrieve data from the log.

Trait Implementations

impl Default for Feed
[src]

Create a new instance with an in-memory storage backend.

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Feed

impl Sync for Feed