FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ClipboardErrorKind

    enum · ferroui-base · v0.5.0

    enum ClipboardErrorKind
    

    The category of a failed clipboard operation.

    The reference reports a failed clipboard operation with an exception whose type tells what happened; the kinds mirror the exception types the platform clipboards raise:

    Kind Reference exception
    Timeout TimeoutException
    Canceled OperationCanceledException (and TaskCanceledException)
    AccessDenied UnauthorizedAccessException
    Platform COMException (an ExternalException carrying a result code)
    Other every other exception

    View source

    Members

    Timeout

    Timeout
    

    The clipboard could not be opened or did not answer in time, usually because another application holds it.

    Source

    Canceled

    Canceled
    

    The operation was canceled before it completed.

    Source

    AccessDenied

    AccessDenied
    

    The platform denied access to the clipboard.

    Source

    Platform

    Platform
    

    A call of the platform clipboard interface failed with a result code (see ClipboardError::code).

    Source

    Other

    Other
    

    Any other failure: one a platform clipboard is not expected to report.

    Source

    Trait implementations

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

    Availability

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