FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ElementNotEnabledError

    struct · ferroui-controls · v0.5.0

    struct ElementNotEnabledError
    

    The error of an operation on an automation element that is not enabled.

    Provider members that act on an element return it as the error of their result.

    View source

    Members

    new

    fn new() -> Self
    

    Creates the error with the default message.

    Source

    with_message

    fn with_message(message: impl Into<String>) -> Self
    

    Creates the error with a message.

    Source

    message

    fn message(self: &Self) -> &str
    

    The message of the error.

    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
    • From<ElementNotEnabledError>
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Default
    • Display
    • Error

    Availability

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