pub enum Note {
Refused {
error: AxError,
at: Seq,
},
Checkpointed {
oid: GitOid,
at: Seq,
},
Waiting {
at: Seq,
t: TimeMs,
answered: Option<TimeMs>,
},
Arrived {
from: String,
said: String,
at: Seq,
},
Discarded {
count: usize,
at: Seq,
},
Unreadable {
cause: String,
at: Seq,
},
}Expand description
What a turn came to besides the calls it made.
The criterion is closed on purpose: an event earns a Note when
it changed what this turn did, or what it is waiting on. Everything
else stays in the event stream, which is the Ledger’s shape rather
than a reader’s. Without that line this enum would grow to one arm
per event kind and stop meaning anything.
Variants§
Refused
A door refused something. The error travels whole because the interface has one place where a refusal becomes the three parts a person needs; taking it apart here would be the second.
Checkpointed
A checkpoint went up, and this is the commit it made. It is what a change list is addressed by.
Waiting
This turn stopped for a person. What waits and who answers is the
approval queue’s; copying it here would be a third authority.
t is when the Ledger recorded the request and answered when
it recorded the answer, paired back by approval id from the
city’s own run; None when the answer is outside that window or
has not come, and the page then draws no guessed end.
Arrived
A word arrived - from the person watching, or from another address that reached this one.
Discarded
Files went away. Every one carries its way back, which is the Recycle Bin’s to state.
Unreadable
A record of a kind that earns a note, whose payload did not read
back as that kind. The failure stays visible here instead of the
turn reading as if nothing happened; cause names the kind and
what the reading stopped at.