use super::super::{AddressType, IdType};
#[derive(PartialEq, Eq, Clone)]
pub struct UniqueId(AddressType, IdType);
impl UniqueId {
pub fn new(source_device_identifier: AddressType, id: IdType) -> UniqueId {
UniqueId(source_device_identifier, id)
}
}
pub trait UniqueIdExtractor {
fn get_unique_id(&self) -> UniqueId;
}