pub trait EraMeta: AsRef<Path> {
// Required method
fn mark_as_processed(self) -> Result<()>;
}
Expand description
Contains information about an ERA file.
Required Methods§
Sourcefn mark_as_processed(self) -> Result<()>
fn mark_as_processed(self) -> Result<()>
Marking this particular ERA file as “processed” lets the caller hint that it is no longer going to be using it.
The meaning of that is up to the implementation. The caller should assume that after this point is no longer possible to safely read it.