pub trait Keys {
// Required method
fn key(&self, meter: &Address) -> Option<&Key>;
}Available on crate feature
oms only.Expand description
Where the library gets the key for a meter.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl Keys for [(Address, Key)]
A key per meter, matched on manufacturer and identification number (version and
device type are not part of a key sheet, and a gateway’s long header may differ).
impl Keys for [(Address, Key)]
A key per meter, matched on manufacturer and identification number (version and device type are not part of a key sheet, and a gateway’s long header may differ).