FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FallbackStorageProvider

    struct · ferroui-base · v0.5.0

    struct FallbackStorageProvider
    

    A storage provider that forwards each request to the first of a list of lazily created providers that can serve it.

    This is an implementation detail of the platform backends.

    View source

    Members

    new

    fn new(factories: Vec<StorageProviderFactory>) -> Self
    

    Creates a provider over the given factories, which are tried in order and at most once each.

    Source

    reset

    fn reset(self: &Self, factories: Vec<StorageProviderFactory>)
    

    Replaces the factories and forgets the providers created so far.

    Source

    Trait implementations

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

    Availability

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