Enum fluvio_index::Error[][src]

pub enum Error {
Show 22 variants MissingGroup(GroupName), MissingPackage(PackageName), MissingRelease(Version), MissingTarget(Target), NoReleases(String), PackageAlreadyExists(String), ReleaseAlreadyExists(VersionTarget), UrlParseError(ParseError), InvalidTarget(String), HttpError(HttpError), ChecksumError, TooFewSlashes, InvalidNameVersionSegment, InvalidSemver(Error), InvalidPackageName(String), InvalidGroupName(String), InvalidTagName(String), TagDoesNotExist(String), InvalidPackageVersion(String), MissingVersion, FailedToParseRegistry(ParseError), Other(String),
}

Variants

MissingGroup(GroupName)

Tuple Fields of MissingGroup

0: GroupName
MissingPackage(PackageName)

Tuple Fields of MissingPackage

0: PackageName
MissingRelease(Version)

Tuple Fields of MissingRelease

0: Version
MissingTarget(Target)

Tuple Fields of MissingTarget

0: Target
NoReleases(String)

Tuple Fields of NoReleases

0: String
PackageAlreadyExists(String)

Tuple Fields of PackageAlreadyExists

0: String
ReleaseAlreadyExists(VersionTarget)

Tuple Fields of ReleaseAlreadyExists

0: Version1: Target
UrlParseError(ParseError)

Tuple Fields of UrlParseError

0: ParseError
InvalidTarget(String)

Tuple Fields of InvalidTarget

0: String
HttpError(HttpError)

Tuple Fields of HttpError

0: HttpError
ChecksumError
TooFewSlashes
InvalidNameVersionSegment
InvalidSemver(Error)

Tuple Fields of InvalidSemver

0: Error
InvalidPackageName(String)

Tuple Fields of InvalidPackageName

0: String
InvalidGroupName(String)

Tuple Fields of InvalidGroupName

0: String
InvalidTagName(String)

Tuple Fields of InvalidTagName

0: String
TagDoesNotExist(String)

Tuple Fields of TagDoesNotExist

0: String
InvalidPackageVersion(String)

Tuple Fields of InvalidPackageVersion

0: String
MissingVersion
FailedToParseRegistry(ParseError)

Tuple Fields of FailedToParseRegistry

0: ParseError
Other(String)

Tuple Fields of Other

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more