Enum fluvio_dataplane_protocol::ErrorCode [−][src]
#[repr(i16)]
#[non_exhaustive]
pub enum ErrorCode {
Show 42 variants
UnknownServerError,
None,
Other(String),
OffsetOutOfRange,
NotLeaderForPartition,
MessageTooLarge,
PermissionDenied,
StorageError,
InvalidCreateRequest,
InvalidDeleteRequest,
SpuError,
SpuRegisterationFailed,
SpuOffline,
SpuNotFound,
SpuAlreadyExists,
TopicError,
TopicNotFound,
TopicAlreadyExists,
TopicPendingInitialization,
TopicInvalidConfiguration,
TopicNotProvisioned,
TopicInvalidName,
PartitionPendingInitialization,
PartitionNotLeader,
FetchSessionNotFoud,
LegacySmartModuleError(LegacySmartModuleError),
ManagedConnectorError,
ManagedConnectorNotFound,
ManagedConnectorAlreadyExists,
SmartModuleError,
SmartModuleNotFound {
name: String,
},
SmartModuleInvalid {
error: String,
name: Option<String>,
},
SmartModuleInvalidExports {
error: String,
kind: String,
},
SmartModuleRuntimeError(SmartModuleRuntimeError),
TableFormatError,
TableFormatNotFound,
TableFormatAlreadyExists,
DerivedStreamObjectError,
DerivedStreamNotFound(String),
DerivedStreamJoinFetchError,
DerivedStreamInvalid(String),
DerivedStreamRecursion(String, String),
}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.
Other(String)Tuple Fields of Other
0: StringLegacySmartModuleError(LegacySmartModuleError)👎 Deprecated since 0.9.13
Tuple Fields of LegacySmartModuleError
0: LegacySmartModuleError👎 Deprecated since 0.9.13
Fields of SmartModuleNotFound
name: StringSmartModuleRuntimeError(SmartModuleRuntimeError)Tuple Fields of SmartModuleRuntimeError
DerivedStreamNotFound(String)Tuple Fields of DerivedStreamNotFound
0: StringDerivedStreamInvalid(String)Tuple Fields of DerivedStreamInvalid
0: StringImplementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more
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