FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VncError

    struct · ferroui-headless-vnc · v0.5.0

    struct VncError
    

    The error of a problem with the VNC client-server communication.

    View source

    Members

    new

    fn new(message: impl Into<String>, reason: VncFailureReason, inner_exception: Option<Box<dyn Error + Send + Sync>>) -> Self
    

    Initializes a new instance of the VncError class, with a reason and optionally the error that caused it.

    Source

    message

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

    The error message.

    Source

    reason

    fn reason(self: &Self) -> VncFailureReason
    

    Gets the reason the exception was raised.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToString
    • ClassDefaults
    • Same
    • Debug
    • Default
    • Display
    • Error
    • ErasedDestructor
    • IntoEither

    Availability

    Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.