pub enum AnyError {
Show 28 variants
MismatchConnectionToken(MismatchConnectionToken),
DevTunnelError(DevTunnelError),
StatusError(StatusError),
WrappedError(WrappedError),
InvalidServerExtensionError(InvalidServerExtensionError),
MissingEntrypointError(MissingEntrypointError),
SetupError(SetupError),
NoHomeForLauncherError(NoHomeForLauncherError),
TunnelCreationFailed(TunnelCreationFailed),
TunnelHostFailed(TunnelHostFailed),
InvalidTunnelName(InvalidTunnelName),
ExtensionInstallFailed(ExtensionInstallFailed),
MismatchedLaunchModeError(MismatchedLaunchModeError),
NoAttachedServerError(NoAttachedServerError),
RefreshTokenNotAvailableError(RefreshTokenNotAvailableError),
NoInstallInUserProvidedPath(NoInstallInUserProvidedPath),
UserCancelledInstallation(UserCancelledInstallation),
InvalidRequestedVersion(InvalidRequestedVersion),
CannotForwardControlPort(CannotForwardControlPort),
ServerHasClosed(ServerHasClosed),
ServiceAlreadyRegistered(ServiceAlreadyRegistered),
WindowsNeedsElevation(WindowsNeedsElevation),
CorruptDownload(CorruptDownload),
MissingHomeDirectory(MissingHomeDirectory),
OAuthError(OAuthError),
InvalidRpcDataError(InvalidRpcDataError),
CodeError(CodeError),
DbusConnectFailedError(DbusConnectFailedError),
}
Variants§
MismatchConnectionToken(MismatchConnectionToken)
DevTunnelError(DevTunnelError)
StatusError(StatusError)
WrappedError(WrappedError)
InvalidServerExtensionError(InvalidServerExtensionError)
MissingEntrypointError(MissingEntrypointError)
SetupError(SetupError)
NoHomeForLauncherError(NoHomeForLauncherError)
TunnelCreationFailed(TunnelCreationFailed)
TunnelHostFailed(TunnelHostFailed)
InvalidTunnelName(InvalidTunnelName)
ExtensionInstallFailed(ExtensionInstallFailed)
MismatchedLaunchModeError(MismatchedLaunchModeError)
NoAttachedServerError(NoAttachedServerError)
RefreshTokenNotAvailableError(RefreshTokenNotAvailableError)
NoInstallInUserProvidedPath(NoInstallInUserProvidedPath)
UserCancelledInstallation(UserCancelledInstallation)
InvalidRequestedVersion(InvalidRequestedVersion)
CannotForwardControlPort(CannotForwardControlPort)
ServerHasClosed(ServerHasClosed)
ServiceAlreadyRegistered(ServiceAlreadyRegistered)
WindowsNeedsElevation(WindowsNeedsElevation)
CorruptDownload(CorruptDownload)
MissingHomeDirectory(MissingHomeDirectory)
OAuthError(OAuthError)
InvalidRpcDataError(InvalidRpcDataError)
CodeError(CodeError)
DbusConnectFailedError(DbusConnectFailedError)
Trait Implementations§
Source§impl Error for AnyError
impl Error for AnyError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<CannotForwardControlPort> for AnyError
impl From<CannotForwardControlPort> for AnyError
Source§fn from(e: CannotForwardControlPort) -> AnyError
fn from(e: CannotForwardControlPort) -> AnyError
Converts to this type from the input type.
Source§impl From<CorruptDownload> for AnyError
impl From<CorruptDownload> for AnyError
Source§fn from(e: CorruptDownload) -> AnyError
fn from(e: CorruptDownload) -> AnyError
Converts to this type from the input type.
Source§impl From<DbusConnectFailedError> for AnyError
impl From<DbusConnectFailedError> for AnyError
Source§fn from(e: DbusConnectFailedError) -> AnyError
fn from(e: DbusConnectFailedError) -> AnyError
Converts to this type from the input type.
Source§impl From<DevTunnelError> for AnyError
impl From<DevTunnelError> for AnyError
Source§fn from(e: DevTunnelError) -> AnyError
fn from(e: DevTunnelError) -> AnyError
Converts to this type from the input type.
Source§impl From<ExtensionInstallFailed> for AnyError
impl From<ExtensionInstallFailed> for AnyError
Source§fn from(e: ExtensionInstallFailed) -> AnyError
fn from(e: ExtensionInstallFailed) -> AnyError
Converts to this type from the input type.
Source§impl From<InvalidRequestedVersion> for AnyError
impl From<InvalidRequestedVersion> for AnyError
Source§fn from(e: InvalidRequestedVersion) -> AnyError
fn from(e: InvalidRequestedVersion) -> AnyError
Converts to this type from the input type.
Source§impl From<InvalidRpcDataError> for AnyError
impl From<InvalidRpcDataError> for AnyError
Source§fn from(e: InvalidRpcDataError) -> AnyError
fn from(e: InvalidRpcDataError) -> AnyError
Converts to this type from the input type.
Source§impl From<InvalidServerExtensionError> for AnyError
impl From<InvalidServerExtensionError> for AnyError
Source§fn from(e: InvalidServerExtensionError) -> AnyError
fn from(e: InvalidServerExtensionError) -> AnyError
Converts to this type from the input type.
Source§impl From<InvalidTunnelName> for AnyError
impl From<InvalidTunnelName> for AnyError
Source§fn from(e: InvalidTunnelName) -> AnyError
fn from(e: InvalidTunnelName) -> AnyError
Converts to this type from the input type.
Source§impl From<MismatchConnectionToken> for AnyError
impl From<MismatchConnectionToken> for AnyError
Source§fn from(e: MismatchConnectionToken) -> AnyError
fn from(e: MismatchConnectionToken) -> AnyError
Converts to this type from the input type.
Source§impl From<MismatchedLaunchModeError> for AnyError
impl From<MismatchedLaunchModeError> for AnyError
Source§fn from(e: MismatchedLaunchModeError) -> AnyError
fn from(e: MismatchedLaunchModeError) -> AnyError
Converts to this type from the input type.
Source§impl From<MissingEntrypointError> for AnyError
impl From<MissingEntrypointError> for AnyError
Source§fn from(e: MissingEntrypointError) -> AnyError
fn from(e: MissingEntrypointError) -> AnyError
Converts to this type from the input type.
Source§impl From<MissingHomeDirectory> for AnyError
impl From<MissingHomeDirectory> for AnyError
Source§fn from(e: MissingHomeDirectory) -> AnyError
fn from(e: MissingHomeDirectory) -> AnyError
Converts to this type from the input type.
Source§impl From<NoAttachedServerError> for AnyError
impl From<NoAttachedServerError> for AnyError
Source§fn from(e: NoAttachedServerError) -> AnyError
fn from(e: NoAttachedServerError) -> AnyError
Converts to this type from the input type.
Source§impl From<NoHomeForLauncherError> for AnyError
impl From<NoHomeForLauncherError> for AnyError
Source§fn from(e: NoHomeForLauncherError) -> AnyError
fn from(e: NoHomeForLauncherError) -> AnyError
Converts to this type from the input type.
Source§impl From<NoInstallInUserProvidedPath> for AnyError
impl From<NoInstallInUserProvidedPath> for AnyError
Source§fn from(e: NoInstallInUserProvidedPath) -> AnyError
fn from(e: NoInstallInUserProvidedPath) -> AnyError
Converts to this type from the input type.
Source§impl From<OAuthError> for AnyError
impl From<OAuthError> for AnyError
Source§fn from(e: OAuthError) -> AnyError
fn from(e: OAuthError) -> AnyError
Converts to this type from the input type.
Source§impl From<RefreshTokenNotAvailableError> for AnyError
impl From<RefreshTokenNotAvailableError> for AnyError
Source§fn from(e: RefreshTokenNotAvailableError) -> AnyError
fn from(e: RefreshTokenNotAvailableError) -> AnyError
Converts to this type from the input type.
Source§impl From<ServerHasClosed> for AnyError
impl From<ServerHasClosed> for AnyError
Source§fn from(e: ServerHasClosed) -> AnyError
fn from(e: ServerHasClosed) -> AnyError
Converts to this type from the input type.
Source§impl From<ServiceAlreadyRegistered> for AnyError
impl From<ServiceAlreadyRegistered> for AnyError
Source§fn from(e: ServiceAlreadyRegistered) -> AnyError
fn from(e: ServiceAlreadyRegistered) -> AnyError
Converts to this type from the input type.
Source§impl From<SetupError> for AnyError
impl From<SetupError> for AnyError
Source§fn from(e: SetupError) -> AnyError
fn from(e: SetupError) -> AnyError
Converts to this type from the input type.
Source§impl From<StatusError> for AnyError
impl From<StatusError> for AnyError
Source§fn from(e: StatusError) -> AnyError
fn from(e: StatusError) -> AnyError
Converts to this type from the input type.
Source§impl From<TunnelCreationFailed> for AnyError
impl From<TunnelCreationFailed> for AnyError
Source§fn from(e: TunnelCreationFailed) -> AnyError
fn from(e: TunnelCreationFailed) -> AnyError
Converts to this type from the input type.
Source§impl From<TunnelHostFailed> for AnyError
impl From<TunnelHostFailed> for AnyError
Source§fn from(e: TunnelHostFailed) -> AnyError
fn from(e: TunnelHostFailed) -> AnyError
Converts to this type from the input type.
Source§impl From<UserCancelledInstallation> for AnyError
impl From<UserCancelledInstallation> for AnyError
Source§fn from(e: UserCancelledInstallation) -> AnyError
fn from(e: UserCancelledInstallation) -> AnyError
Converts to this type from the input type.
Source§impl From<WindowsNeedsElevation> for AnyError
impl From<WindowsNeedsElevation> for AnyError
Source§fn from(e: WindowsNeedsElevation) -> AnyError
fn from(e: WindowsNeedsElevation) -> AnyError
Converts to this type from the input type.
Source§impl From<WrappedError> for AnyError
impl From<WrappedError> for AnyError
Source§fn from(e: WrappedError) -> AnyError
fn from(e: WrappedError) -> AnyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnyError
impl !RefUnwindSafe for AnyError
impl Send for AnyError
impl Sync for AnyError
impl Unpin for AnyError
impl !UnwindSafe for AnyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more