pub enum ControlLevel {
Info,
Warn,
Error,
}Expand description
How severe a forwarded control event is (issue #441).
On wasm32 no tracing dispatcher can be installed (it hangs the
workerd isolate), so the accountability tracing carries — the
HARNESS_ALLOW_UNPROTECTED_WRITES acceptance, the production-readiness
refusal, a gateway secret that would not load, the secret-access audit —
went nowhere, exactly as the 500-mapped internal errors of issue #107
did. Those events ride the same forwarder as the errors now, but they
are not all failures: the level travels with the line so Workers Logs
shows an acceptance as a warning and an audit record as information,
rather than everything as an error.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ControlLevel
impl Clone for ControlLevel
impl Copy for ControlLevel
Source§impl Debug for ControlLevel
impl Debug for ControlLevel
impl Eq for ControlLevel
Source§impl PartialEq for ControlLevel
impl PartialEq for ControlLevel
impl StructuralPartialEq for ControlLevel
Auto Trait Implementations§
impl Freeze for ControlLevel
impl RefUnwindSafe for ControlLevel
impl Send for ControlLevel
impl Sync for ControlLevel
impl Unpin for ControlLevel
impl UnsafeUnpin for ControlLevel
impl UnwindSafe for ControlLevel
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.