pub enum RecordDeleteStrategy {
Continuous,
Discontinuous,
}Expand description
The desired strategy to delete data-records with. This option only has an effect on EDF+ files and not on regular EDF files. It determines whether or not to shift the timestamps of data-records following a deleted data-record
Variants§
Continuous
In case a record was deleted in the middle of a recording, the timestamps of all
records following the deleted one will be shifted forward by the duration of 1 data-record.
Therefore EDF+ files will keep the is_continuous state they had before deleting.
§Note
This is not yet implemented and currently removes the record without adjusting the timestamps
of following records while keeping is_continuous unchanged.
Discontinuous
In case a record was deleted in the middle of a recording, the timestamps of all records following the deleted one will remain the same as they were before. This will create a time gap between two data-records. Therefore EDF+ files will become discontinuous if they were continuous before deleting
Trait Implementations§
Source§impl Clone for RecordDeleteStrategy
impl Clone for RecordDeleteStrategy
Source§fn clone(&self) -> RecordDeleteStrategy
fn clone(&self) -> RecordDeleteStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more