pub struct ReloadReport {
pub generation: u64,
pub profiles: Vec<String>,
pub job_kinds: Vec<&'static str>,
pub tls_reloaded: bool,
pub admin_tls_reloaded: bool,
pub listeners_rebound: Vec<&'static str>,
pub logging_reloaded: bool,
pub duration: Duration,
}Expand description
What a completed reload did.
Fields§
§generation: u64Monotonic, starting at 1 for the configuration the process started with. The highest-value field in here: it is what a test waits on and what an operator greps to answer “did my SIGHUP land?”.
profiles: Vec<String>§job_kinds: Vec<&'static str>§tls_reloaded: boolWhether that listener is speaking TLS after this reload — not
whether its certificate changed. A generation always rebuilds both
acceptors, so “reloaded” was already the wrong word for it; now that
tls.enabled can flip mid-run it is also the answer an operator is
actually asking for.
admin_tls_reloaded: bool§listeners_rebound: Vec<&'static str>The listeners whose socket this reload moved — acme, admin,
metrics — empty when every one of them stayed where it was, which is
the ordinary case.
logging_reloaded: boolWhether [logging] was swapped, which is not the same as whether it
changed: false means this process installed no subscriber of its own,
so there was no handle to swap and logging stayed whatever its owner set
it to. Reported rather than assumed, since a silent no-op there is the
one outcome an operator would misread as success.
duration: DurationTrait Implementations§
Source§impl Clone for ReloadReport
impl Clone for ReloadReport
Auto Trait Implementations§
impl Freeze for ReloadReport
impl RefUnwindSafe for ReloadReport
impl Send for ReloadReport
impl Sync for ReloadReport
impl Unpin for ReloadReport
impl UnsafeUnpin for ReloadReport
impl UnwindSafe for ReloadReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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