Enum fluvio::FluvioError[][src]

pub enum FluvioError {
Show 14 variants Io(IoError), TopicNotFound(String), PartitionNotFound(Stringi32), SPUNotFound(i32), Socket(SocketError), AdminApi(ApiError), ClientConfig(ConfigError), NegativeOffset(i64), MinimumPlatformVersion { cluster_version: Version, client_minimum_version: Version, }, MaximumPlatformVersion { cluster_version: Version, client_maximum_version: Version, }, ConsumerConfig(String), SmartStreamRuntime(SmartStreamRuntimeError), SmartStream(SmartStreamError), Other(String),
}
Expand description

Possible errors that may arise when using Fluvio

Variants

Tuple Fields of Io

0: IoError
TopicNotFound(String)

Tuple Fields of TopicNotFound

0: String
PartitionNotFound(Stringi32)

Tuple Fields of PartitionNotFound

0: String1: i32
SPUNotFound(i32)

Tuple Fields of SPUNotFound

0: i32
Socket(SocketError)

Tuple Fields of Socket

0: SocketError
AdminApi(ApiError)

Tuple Fields of AdminApi

0: ApiError
ClientConfig(ConfigError)

Tuple Fields of ClientConfig

0: ConfigError
NegativeOffset(i64)

Tuple Fields of NegativeOffset

0: i64
MinimumPlatformVersion

Fields of MinimumPlatformVersion

cluster_version: Versionclient_minimum_version: Version
MaximumPlatformVersion

Fields of MaximumPlatformVersion

cluster_version: Versionclient_maximum_version: Version
ConsumerConfig(String)

Tuple Fields of ConsumerConfig

0: String
SmartStreamRuntime(SmartStreamRuntimeError)
👎 Deprecated since 0.9.8:

use ‘FluvioError::SmartStream’ instead

Tuple Fields of SmartStreamRuntime

0: SmartStreamRuntimeError
👎 Deprecated since 0.9.8:

use ‘FluvioError::SmartStream’ instead

SmartStream(SmartStreamError)

Tuple Fields of SmartStream

0: SmartStreamError
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.

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.

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