pub enum VisibleRecordError {
InvalidEncodedRange {
start: usize,
end: usize,
available: usize,
},
Record(RecordError),
}Expand description
Checked access failure for a retained encoded record.
Variants§
InvalidEncodedRange
The retained range does not fit its shared encoded allocation.
Fields
Record(RecordError)
The retained bytes no longer decode as the record published by the writer.
Trait Implementations§
Source§impl Clone for VisibleRecordError
impl Clone for VisibleRecordError
impl Copy for VisibleRecordError
Source§impl Debug for VisibleRecordError
impl Debug for VisibleRecordError
Source§impl Display for VisibleRecordError
impl Display for VisibleRecordError
impl Eq for VisibleRecordError
Source§impl Error for VisibleRecordError
impl Error for VisibleRecordError
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 VisibleRecordError
impl PartialEq for VisibleRecordError
impl StructuralPartialEq for VisibleRecordError
Auto Trait Implementations§
impl Freeze for VisibleRecordError
impl RefUnwindSafe for VisibleRecordError
impl Send for VisibleRecordError
impl Sync for VisibleRecordError
impl Unpin for VisibleRecordError
impl UnsafeUnpin for VisibleRecordError
impl UnwindSafe for VisibleRecordError
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