pub enum HistoryRejectionReason {
Disabled,
PayloadTooLarge {
supplied: usize,
maximum: usize,
},
}Expand description
Why an opaque history refused an input before changing retained state.
Variants§
Disabled
The configured row capacity is zero.
PayloadTooLarge
The input cannot fit even in an empty history.
Trait Implementations§
Source§impl Clone for HistoryRejectionReason
impl Clone for HistoryRejectionReason
impl Copy for HistoryRejectionReason
Source§impl Debug for HistoryRejectionReason
impl Debug for HistoryRejectionReason
Source§impl Display for HistoryRejectionReason
impl Display for HistoryRejectionReason
impl Eq for HistoryRejectionReason
Source§impl Error for HistoryRejectionReason
impl Error for HistoryRejectionReason
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 HistoryRejectionReason
impl PartialEq for HistoryRejectionReason
impl StructuralPartialEq for HistoryRejectionReason
Auto Trait Implementations§
impl Forget for HistoryRejectionReason
impl Freeze for HistoryRejectionReason
impl RefUnwindSafe for HistoryRejectionReason
impl Send for HistoryRejectionReason
impl Sync for HistoryRejectionReason
impl Unpin for HistoryRejectionReason
impl UnsafeUnpin for HistoryRejectionReason
impl UnwindSafe for HistoryRejectionReason
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