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.
Members
MissingSourcePageTypeNotAPageMissingConstructorFactoryFailedFactoryTypeMismatchNavigationPendingEntryOwnedByAnotherFrameIndexOutOfRangeNoBackEntryNoForwardEntryInvalidCacheSize
MissingSourcePageType
MissingSourcePageType
No page type was given (SourcePageType set to null).
NotAPage
NotAPage(String)
The type does not derive from FramePage.
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).
FactoryFailed
FactoryFailed(String)
The page factory of the frame failed, with its message.
FactoryTypeMismatch
FactoryTypeMismatch { expected: String, actual: String }
The page factory created a page of another type.
NavigationPending
NavigationPending
The journal was edited during a navigation.
EntryOwnedByAnotherFrame
EntryOwnedByAnotherFrame
The entry belongs to the journal of another frame.
IndexOutOfRange
IndexOutOfRange { index: usize, count: usize }
The index is outside the journal.
NoBackEntry
NoBackEntry
go_back with an empty back stack.
NoForwardEntry
NoForwardEntry
go_forward with an empty forward stack.
InvalidCacheSize
InvalidCacheSize(i32)
A negative CacheSize.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEqDisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.