Enum wry::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 21 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),
InvalidHeaderName(InvalidHeaderName),
InvalidHeaderValue(InvalidHeaderValue),
InvalidUri(InvalidUri),
InvalidStatusCode(InvalidStatusCode),
InvalidMethod(InvalidMethod),
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.
Tuple Fields of GlibError
0: Error
Tuple Fields of GlibBoolError
0: BoolError
Tuple Fields of NulError
0: NulError
Tuple Fields of OsError
0: OsError
Tuple Fields of ReceiverError
0: RecvError
Tuple Fields of Json
0: Error
Tuple Fields of UrlError
0: ParseError
Tuple Fields of Io
0: Error
Tuple Fields of Icon
0: BadIcon
Tuple Fields of DuplicateCustomProtocol
0: String
Tuple Fields of InvalidHeaderName
Tuple Fields of InvalidHeaderValue
Tuple Fields of InvalidUri
0: InvalidUri
Tuple Fields of InvalidStatusCode
Tuple Fields of InvalidMethod
Tuple Fields of Infallible
0: Infallible
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.