use dfir_windows_types::Guid;
use crate::cache::RecordId;
#[derive(Debug, Copy, Clone)]
pub enum EntryId {
Id(RecordId),
Rid(u32),
Guid(Guid),
}
impl From<RecordId> for EntryId {
fn from(record_id: RecordId) -> Self {
Self::Id(record_id)
}
}
impl From<&RecordId> for EntryId {
fn from(record_id: &RecordId) -> Self {
Self::Id(*record_id)
}
}