pub struct RootStanding {
resume_after: Option<String>,
last_seen: BTreeMap<String, OffsetDateTime>,
}Expand description
What refresh_root_standing carries from one tick to the next.
Fields§
§resume_after: Option<String>The last root read, so the next tick resumes past it.
last_seen: BTreeMap<String, OffsetDateTime>When each root’s record was last read present — or first read missing, for one this poll has never seen present — so a lapse is measured against the same grace window the server’s own claim gets.
Trait Implementations§
Source§impl Debug for RootStanding
impl Debug for RootStanding
Source§impl Default for RootStanding
impl Default for RootStanding
Source§fn default() -> RootStanding
fn default() -> RootStanding
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RootStanding
impl RefUnwindSafe for RootStanding
impl Send for RootStanding
impl Sync for RootStanding
impl Unpin for RootStanding
impl UnsafeUnpin for RootStanding
impl UnwindSafe for RootStanding
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more