pub struct ErrorCode(pub i16);Expand description
An error code carried in a Kafka response.
Tuple Fields§
§0: i16Implementations§
Source§impl ErrorCode
impl ErrorCode
pub const UNKNOWN_SERVER_ERROR: ErrorCode
pub const NONE: ErrorCode
pub const OFFSET_OUT_OF_RANGE: ErrorCode
pub const CORRUPT_MESSAGE: ErrorCode
pub const UNKNOWN_TOPIC_OR_PARTITION: ErrorCode
pub const INVALID_FETCH_SIZE: ErrorCode
pub const LEADER_NOT_AVAILABLE: ErrorCode
pub const NOT_LEADER_OR_FOLLOWER: ErrorCode
pub const REQUEST_TIMED_OUT: ErrorCode
pub const BROKER_NOT_AVAILABLE: ErrorCode
pub const REPLICA_NOT_AVAILABLE: ErrorCode
pub const MESSAGE_TOO_LARGE: ErrorCode
pub const NETWORK_EXCEPTION: ErrorCode
pub const COORDINATOR_LOAD_IN_PROGRESS: ErrorCode
pub const COORDINATOR_NOT_AVAILABLE: ErrorCode
pub const NOT_COORDINATOR: ErrorCode
pub const INVALID_TOPIC_EXCEPTION: ErrorCode
pub const RECORD_LIST_TOO_LARGE: ErrorCode
pub const NOT_ENOUGH_REPLICAS: ErrorCode
pub const NOT_ENOUGH_REPLICAS_AFTER_APPEND: ErrorCode
pub const INVALID_REQUIRED_ACKS: ErrorCode
pub const ILLEGAL_GENERATION: ErrorCode
pub const INCONSISTENT_GROUP_PROTOCOL: ErrorCode
pub const INVALID_GROUP_ID: ErrorCode
pub const UNKNOWN_MEMBER_ID: ErrorCode
pub const INVALID_SESSION_TIMEOUT: ErrorCode
pub const REBALANCE_IN_PROGRESS: ErrorCode
pub const TOPIC_AUTHORIZATION_FAILED: ErrorCode
pub const GROUP_AUTHORIZATION_FAILED: ErrorCode
pub const CLUSTER_AUTHORIZATION_FAILED: ErrorCode
pub const UNSUPPORTED_SASL_MECHANISM: ErrorCode
pub const ILLEGAL_SASL_STATE: ErrorCode
pub const UNSUPPORTED_VERSION: ErrorCode
pub const TOPIC_ALREADY_EXISTS: ErrorCode
pub const INVALID_PARTITIONS: ErrorCode
pub const INVALID_REPLICATION_FACTOR: ErrorCode
pub const NOT_CONTROLLER: ErrorCode
pub const INVALID_REQUEST: ErrorCode
pub const UNSUPPORTED_FOR_MESSAGE_FORMAT: ErrorCode
pub const POLICY_VIOLATION: ErrorCode
pub const OUT_OF_ORDER_SEQUENCE_NUMBER: ErrorCode
pub const DUPLICATE_SEQUENCE_NUMBER: ErrorCode
pub const INVALID_PRODUCER_EPOCH: ErrorCode
pub const INVALID_TXN_STATE: ErrorCode
pub const INVALID_PRODUCER_ID_MAPPING: ErrorCode
pub const INVALID_TRANSACTION_TIMEOUT: ErrorCode
pub const CONCURRENT_TRANSACTIONS: ErrorCode
pub const TRANSACTION_COORDINATOR_FENCED: ErrorCode
pub const TRANSACTIONAL_ID_AUTHORIZATION_FAILED: ErrorCode
pub const OPERATION_NOT_ATTEMPTED: ErrorCode
pub const KAFKA_STORAGE_ERROR: ErrorCode
pub const SASL_AUTHENTICATION_FAILED: ErrorCode
pub const UNKNOWN_PRODUCER_ID: ErrorCode
pub const TOPIC_DELETION_DISABLED: ErrorCode
pub const UNSUPPORTED_COMPRESSION_TYPE: ErrorCode
pub const MEMBER_ID_REQUIRED: ErrorCode
pub const GROUP_MAX_SIZE_REACHED: ErrorCode
pub const PRODUCER_FENCED: ErrorCode
pub const UNKNOWN_TOPIC_ID: ErrorCode
pub const TRANSACTIONAL_ID_NOT_FOUND: ErrorCode
pub const FENCED_MEMBER_EPOCH: ErrorCode
pub const UNRELEASED_INSTANCE_ID: ErrorCode
pub const UNSUPPORTED_ASSIGNOR: ErrorCode
pub const STALE_MEMBER_EPOCH: ErrorCode
pub const TRANSACTION_ABORTABLE: ErrorCode
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Forget for ErrorCode
impl Freeze for ErrorCode
impl Move for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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