Struct routinator::payload::PayloadHistory [−][src]
pub struct PayloadHistory { /* fields omitted */ }
Expand description
The history of the validated payload.
Implementations
Creates a new history from the configuration.
Returns whether the history is already active.
The history becoes active once the first validation has finished.
Returns a shareable reference to the current payload snapshot.
If the history isn’t active yet, returns None
.
Returns the duration until the next refresh should start.
Returns the duration until a new set of data will likely be available.
Because the update duration can vary widely, this is a guess at best.
Returns a delta from the given serial number to the current set.
The serial is what the requestor has last seen. The method produces a delta from that version to the current version if it can. If it can’t, this is either because it doesn’t have enough history data or because the serial is actually in the future.
The method returns an arc’d delta so it can return the delta from the previous version which is the most likely scenario for RTR.
Returns the RTR version of the session ID.
This is the last 16 bits of the full session ID.
Returns the current metrics if they are available yet.
Returns the time the last update was started.
Returns the time the last update has concluded.
Returns the time the last update has concluded.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PayloadHistory
impl Send for PayloadHistory
impl Sync for PayloadHistory
impl Unpin for PayloadHistory
impl !UnwindSafe for PayloadHistory
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more