VncError
struct · ferroui-headless-vnc · v0.5.0
struct VncError
The error of a problem with the VNC client-server communication.
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.
message
fn message(self: &Self) -> &str
The error message.
reason
fn reason(self: &Self) -> VncFailureReason
Gets the reason the exception was raised.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyToStringClassDefaultsSameDebugDefaultDisplayErrorErasedDestructorIntoEither
Availability
Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.