Skip to main content

WaveformState

Enum WaveformState 

Source
pub enum WaveformState {
    Operational,
    Transition,
    PostTransitionGuard {
        remaining: u16,
    },
    Calibration,
    TransmitInhibit,
}
Expand description

Current waveform/signal regime state.

Used to suppress grammar escalation during planned transitions, preventing false episodes at every scheduled frequency hop, modulation change, or burst boundary (paper §XIV-C, §IX-E).

Variants§

§

Operational

Normal signal operation. Grammar evaluation proceeds.

§

Transition

Deliberate waveform transition window (hop, burst boundary, modulation change). Grammar escalation suppressed. Admissibility multiplier → +∞.

§

PostTransitionGuard

Post-transition hysteresis guard window. Grammar accumulation suppressed for guard_runs remaining observations. Post-transition guard: grammar suppressed for remaining more observations.

Fields

§remaining: u16

Observations remaining in guard window before returning to Operational.

§

Calibration

Calibration window. Grammar evaluation suppressed.

§

TransmitInhibit

Known co-site transmit-inhibit window. The platform’s own transmitter is active; structural violations during this period are expected artefacts of co-site interference, not external threats.

The integration layer must set this state for the duration of every local transmit burst (see paper §L, item 17: Aperture Co-site Interference defence). Grammar escalation is suppressed while this state is active; the platform context transition back to WaveformState::PostTransitionGuard automatically when the operator clears the inhibit.

Admissibility multiplier → +∞ (no violation possible).

Implementations§

Source§

impl WaveformState

Source

pub fn admissibility_multiplier(&self) -> f32

Returns the admissibility multiplier for this state.

  • Operational: 1.0 (normal envelope)
  • Transition / Calibration: f32::INFINITY (no violation possible)
  • PostTransitionGuard: f32::INFINITY until guard expires
Source

pub fn is_suppressed(&self) -> bool

Returns true if grammar state assignment is suppressed.

Source

pub fn tick(self) -> Self

Advance the state by one observation tick. PostTransitionGuard { remaining: 0 } transitions to Operational.

Trait Implementations§

Source§

impl Clone for WaveformState

Source§

fn clone(&self) -> WaveformState

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WaveformState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for WaveformState

Source§

fn eq(&self, other: &WaveformState) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for WaveformState

Source§

impl Eq for WaveformState

Source§

impl StructuralPartialEq for WaveformState

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.