pub struct AttrDeltaConfig {
pub value: AttrNumber,
pub time: Option<Duration>,
}Expand description
The alarm on the read value drifting away from the written one.
Fields§
§value: AttrNumberHow far the two may be apart before the attribute is in alarm, in the type of the attribute, being a value of it like any other limit.
time: Option<Duration>How long they may stay that far apart before it counts, absent for immediately.
Trait Implementations§
Source§impl Clone for AttrDeltaConfig
impl Clone for AttrDeltaConfig
impl Copy for AttrDeltaConfig
Source§impl Debug for AttrDeltaConfig
impl Debug for AttrDeltaConfig
Source§impl PartialEq for AttrDeltaConfig
impl PartialEq for AttrDeltaConfig
impl StructuralPartialEq for AttrDeltaConfig
Auto Trait Implementations§
impl Freeze for AttrDeltaConfig
impl RefUnwindSafe for AttrDeltaConfig
impl Send for AttrDeltaConfig
impl Sync for AttrDeltaConfig
impl Unpin for AttrDeltaConfig
impl UnsafeUnpin for AttrDeltaConfig
impl UnwindSafe for AttrDeltaConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more