Diagnostic
enum · ferroui-view · v0.5.0
enum Diagnostic
A warning of the declarative API.
Members
MissingKeys
MissingKeys { items: usize, first: String }
A list of elements (for in rsx!, a Vec) whose items have no
keys: an item that moves or is removed makes the items after it patch
one another's controls instead of keeping their own.
DuplicateKey
DuplicateKey { key: crate::element::Key }
Two siblings with the same key: the second does not keep its control.
RunawayComponent
RunawayComponent { name: &'static str, runs: u32 }
A component that ran again more times than RUNAWAY_RUNS in one
propagation of changes: a run that writes a signal it reads.
NeedsRebuild
NeedsRebuild { file: String, line: u32 }
The source of an rsx! changed more than its literals: hot reload
applies literals only, the rest needs a rebuild.
HotReloaded
HotReloaded { file: String, literals: usize }
Hot reload applied changed literals of a file.
ErrorCaught
ErrorCaught { component: &'static str, message: String }
A run of a component below an error boundary panicked: the nearest
boundary shows its fallback (see error_boundary).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeIntoValue<T>IntoValue<Option<T>>FromValue<T>FromValue<Option<T>>IntoProp<T, Value>AnyValueEqBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelCloneDebugStructuralPartialEqPartialEqDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.