FunctionRegistration
struct · ferroui-hot-patch · v0.5.0
struct FunctionRegistration
A stable application declaration, supplied when its patch supervisor starts. Changing registrations is a build-input change and requires process replacement.
Members
callback
fn callback(source: impl Into<String>, function: impl Into<String>) -> Self
A handler or command whose updated body takes effect on its next invocation. Register the function here and invoke it through a patch-aware callback helper.
view_builder
fn view_builder(source: impl Into<String>, function: impl Into<String>, views: impl IntoIterator<Item = String>) -> Self
A synchronous builder which explicitly requests reapplication of these views. View identifiers belong to the application; the view transaction must resolve them to reversible adapters. At least one nonempty identifier is required.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.