#[non_exhaustive]
pub enum Error {
Show 17 variants
GlibError(Error),
GlibBoolError(BoolError),
MissingManager,
InitScriptError,
RpcScriptError(String, String),
NulError(NulError),
OsError(OsError),
ReceiverError(RecvError),
SenderError(SendError<String>),
MessageSender,
Json(Error),
UrlError(ParseError),
Io(Error),
Icon(BadIcon),
DuplicateCustomProtocol(String),
HttpError(Error),
Infallible(Infallible),
}Expand description
Errors returned by wry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GlibError(Error)
GlibBoolError(BoolError)
MissingManager
InitScriptError
RpcScriptError(String, String)
NulError(NulError)
OsError(OsError)
ReceiverError(RecvError)
SenderError(SendError<String>)
MessageSender
Json(Error)
UrlError(ParseError)
Io(Error)
Icon(BadIcon)
DuplicateCustomProtocol(String)
HttpError(Error)
Infallible(Infallible)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Infallible> for Error
impl From<Infallible> for Error
source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.