FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationError

    enum · ferroui-controls · v0.5.0

    enum NavigationError
    

    A navigation or an edit of the journal that failed. Where WinUI returns a failing HRESULT (or throws in C#), FerroUI returns this error.

    View source

    Members

    MissingSourcePageType

    MissingSourcePageType
    

    No page type was given (SourcePageType set to null).

    Source

    NotAPage

    NotAPage(String)
    

    The type does not derive from FramePage.

    Source

    MissingConstructor

    MissingConstructor(String)
    

    The type has neither a default constructor nor a page factory of the frame: a page type converted from a runtime type (PageType::from) whose TypeInfo has no default constructor, which is the case of every class without the tables of types (the ferroui-base feature type-tables) unless its constructor is registered (TypeInfo::register_constructor).

    Source

    FactoryFailed

    FactoryFailed(String)
    

    The page factory of the frame failed, with its message.

    Source

    FactoryTypeMismatch

    FactoryTypeMismatch { expected: String, actual: String }
    

    The page factory created a page of another type.

    Source

    NavigationPending

    NavigationPending
    

    The journal was edited during a navigation.

    Source

    EntryOwnedByAnotherFrame

    EntryOwnedByAnotherFrame
    

    The entry belongs to the journal of another frame.

    Source

    IndexOutOfRange

    IndexOutOfRange { index: usize, count: usize }
    

    The index is outside the journal.

    Source

    NoBackEntry

    NoBackEntry
    

    go_back with an empty back stack.

    Source

    NoForwardEntry

    NoForwardEntry
    

    go_forward with an empty forward stack.

    Source

    InvalidCacheSize

    InvalidCacheSize(i32)
    

    A negative CacheSize.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Display
    • Error

    Availability

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