FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RestartHandoff

    struct · ferroui-hot-reload · v0.5.0

    struct RestartHandoff
    

    Holds input and registered application participants paused until dropped. Capture restart state only after begin succeeds. Keep this guard until the old process exits or handoff fails; dropping it resumes participants in reverse registration order, then releases the temporary input contribution.

    View source

    Members

    begin

    fn begin(root: &InputElement, participants: impl IntoIterator<Item = Rc<dyn RestartParticipant>>) -> Result<Self, ReloadError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Drop

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.