pub enum EventType {
Show 13 variants
RunStart,
Stage,
Frame,
AudioChunk,
Health,
RunComplete,
RunError,
HealthViolation,
CheckComplete,
TextPrepared,
Backends,
Selftest,
VoiceInspect,
}Expand description
A named event, as a constructor for a partially-filled object.
Emitters build an object with the common fields already correct and then insert their own,
so schema_version and the event discriminator can never be forgotten or mistyped at a
call site. (This ergonomic shape is preserved from a concurrent implementation of this
contract that I destroyed — see the incident note on frankentts-p0-robot-82c.)
Variants§
RunStart
Stage
Frame
AudioChunk
Health
RunComplete
RunError
HealthViolation
CheckComplete
TextPrepared
Backends
Selftest
VoiceInspect
Implementations§
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnsafeUnpin for EventType
impl UnwindSafe for EventType
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
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<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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).