pub enum StreamErrorContext {
StreamClosed,
StaleColdFlushCandidate,
ProducerEpochStale {
current_epoch: u64,
},
ProducerSeqConflict {
expected_seq: u64,
received_seq: u64,
},
RecordTailMismatch {
current_record: u64,
},
}Variants§
Trait Implementations§
Source§impl Clone for StreamErrorContext
impl Clone for StreamErrorContext
Source§fn clone(&self) -> StreamErrorContext
fn clone(&self) -> StreamErrorContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamErrorContext
impl Debug for StreamErrorContext
Source§impl<'de> Deserialize<'de> for StreamErrorContext
impl<'de> Deserialize<'de> for StreamErrorContext
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamErrorContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamErrorContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StreamErrorContext
Source§impl PartialEq for StreamErrorContext
impl PartialEq for StreamErrorContext
Source§impl Serialize for StreamErrorContext
impl Serialize for StreamErrorContext
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StreamErrorContext
Auto Trait Implementations§
impl Freeze for StreamErrorContext
impl RefUnwindSafe for StreamErrorContext
impl Send for StreamErrorContext
impl Sync for StreamErrorContext
impl Unpin for StreamErrorContext
impl UnsafeUnpin for StreamErrorContext
impl UnwindSafe for StreamErrorContext
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