pub enum AppendError {
LabelTooLong {
label: Label,
actual_bytes: usize,
max_bytes: usize,
},
TimestampRegressed {
previous: u64,
current: u64,
},
SequenceExhausted,
TextBudgetExceeded {
required_bytes: u128,
max_bytes: usize,
},
}Expand description
Append refusal; every variant leaves entries and watermarks unchanged.
Variants§
LabelTooLong
A label exceeded its configured byte ceiling.
Fields
TimestampRegressed
The timestamp is older than the last admitted append, even after pruning.
SequenceExhausted
All sequence identities have been issued for this log instance.
TextBudgetExceeded
This row’s retained text cannot fit even in an otherwise empty log.
Trait Implementations§
Source§impl Clone for AppendError
impl Clone for AppendError
impl Copy for AppendError
Source§impl Debug for AppendError
impl Debug for AppendError
Source§impl Display for AppendError
impl Display for AppendError
impl Eq for AppendError
Source§impl Error for AppendError
impl Error for AppendError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AppendError
impl PartialEq for AppendError
impl StructuralPartialEq for AppendError
Auto Trait Implementations§
impl Forget for AppendError
impl Freeze for AppendError
impl Move for AppendError
impl RefUnwindSafe for AppendError
impl Send for AppendError
impl Sync for AppendError
impl Unpin for AppendError
impl UnsafeUnpin for AppendError
impl UnwindSafe for AppendError
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