pub struct GenPlanEntry {Show 15 fields
pub key: String,
pub class: String,
pub producer: String,
pub type_name: String,
pub qos: String,
pub qos_source: &'static str,
pub rate_hz: f64,
pub body_source: &'static str,
pub encoding: Option<String>,
pub events_cap: Option<u64>,
pub note: Option<String>,
pub fault: Option<Fault>,
pub fault_delta: Option<String>,
pub schema: Option<TypeSchema>,
pub unique_chunk: Option<usize>,
}Expand description
One subject the run will publish, fully resolved — the plan is printed before anything touches the bus (the replay dry-run precedent).
Fields§
§key: String§class: String§producer: String§type_name: String§qos: String§qos_source: &'static strdeclared or default — where the profile came from (#158’s rule:
a generator that picks QoS silently is the write-side O4 mistake).
rate_hz: f64§body_source: &'static strdescribe / schema-set / placeholder — where the body shape
came from.
encoding: Option<String>§events_cap: Option<u64>For events: the hard cap on sends within the run (the declared
budget, RFC 04 §1.3) — a generator must not out-shout the registry
it claims to follow.
note: Option<String>§fault: Option<Fault>The fault this entry injects (#163), None for a conforming entry —
stamped into every one of its samples’ markers.
fault_delta: Option<String>The printable delta from valid this fault introduces (#163) — stated in the plan before a byte moves.
schema: Option<TypeSchema>§unique_chunk: Option<usize>Absolute chunk index (into the full wire key) of the per-send unique id — set for events, whose keys MUST be write-once (RFC 04 §1.3).
Trait Implementations§
Source§impl Clone for GenPlanEntry
impl Clone for GenPlanEntry
Source§fn clone(&self) -> GenPlanEntry
fn clone(&self) -> GenPlanEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GenPlanEntry
impl Debug for GenPlanEntry
Auto Trait Implementations§
impl Freeze for GenPlanEntry
impl RefUnwindSafe for GenPlanEntry
impl Send for GenPlanEntry
impl Sync for GenPlanEntry
impl Unpin for GenPlanEntry
impl UnsafeUnpin for GenPlanEntry
impl UnwindSafe for GenPlanEntry
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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