pub struct ControlNote {
pub task_id: String,
pub noted_at: Instant,
pub word: ControlWord,
}Expand description
One operator’s word this client is still waiting to see answered.
The command is a notify the plugin may or may not live to answer, so the
note is what this client knows on its own: which task the word named, when it
was given, and what the operator said. It is not a second settle path — the
note is the authority of the one settle door, which settle.rs reads as
SettleAuthority::ControlDriven — and it is the record the watchdog holds a
word to once no report arrives at all.
Fields§
§task_id: StringThe task the word named.
noted_at: InstantWhen the word was given. The watchdog’s bound runs from here.
word: ControlWordWhat the operator said.
Trait Implementations§
Source§impl Clone for ControlNote
impl Clone for ControlNote
Source§impl Debug for ControlNote
impl Debug for ControlNote
impl Eq for ControlNote
Source§impl PartialEq for ControlNote
impl PartialEq for ControlNote
impl StructuralPartialEq for ControlNote
Auto Trait Implementations§
impl Freeze for ControlNote
impl RefUnwindSafe for ControlNote
impl Send for ControlNote
impl Sync for ControlNote
impl Unpin for ControlNote
impl UnsafeUnpin for ControlNote
impl UnwindSafe for ControlNote
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.