pub struct EventSigningConfigWarning {
pub var: &'static str,
pub value: String,
pub reason: String,
}Expand description
U1-04: a single structured “this signing-config env var was ignored / fell
back to the default” record, returned by
SigningEventSink::from_env_with_warnings.
The composition root translates each entry into a
StartupConfigWarnings::record call so CELLOS_STRICT_CONFIG=1 escalates
signing misconfig to a fatal startup error instead of silently degrading
to passthrough. Reviewer wave 2 (bebc77b) flagged that the legacy
from_env shape only emitted tracing::warn! and therefore slipped
through strict mode.
Fields§
§var: &'static strEnv var name that was misconfigured (e.g. CELLOS_EVENT_SIGNING_KEY_BASE64).
value: StringOperator-supplied value (best-effort; empty when only a companion var was missing). Never contains decoded key material — only the toggle / kid / opaque “<base64 …>” placeholders are stored verbatim.
reason: StringOperator-facing explanation of why the value was rejected.
Trait Implementations§
Source§impl Clone for EventSigningConfigWarning
impl Clone for EventSigningConfigWarning
Source§fn clone(&self) -> EventSigningConfigWarning
fn clone(&self) -> EventSigningConfigWarning
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for EventSigningConfigWarning
impl RefUnwindSafe for EventSigningConfigWarning
impl Send for EventSigningConfigWarning
impl Sync for EventSigningConfigWarning
impl Unpin for EventSigningConfigWarning
impl UnsafeUnpin for EventSigningConfigWarning
impl UnwindSafe for EventSigningConfigWarning
Blanket Implementations§
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,
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