pub enum ContentReadError {
Segment(SegmentError),
Decode(DecodeError),
}Expand description
Why a stored record could not be read.
Variants§
Segment(SegmentError)
Decode(DecodeError)
Trait Implementations§
Source§impl Debug for ContentReadError
impl Debug for ContentReadError
Source§impl Display for ContentReadError
impl Display for ContentReadError
Source§impl Error for ContentReadError
impl Error for ContentReadError
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 From<DecodeError> for ContentReadError
impl From<DecodeError> for ContentReadError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<SegmentError> for ContentReadError
impl From<SegmentError> for ContentReadError
Source§fn from(source: SegmentError) -> Self
fn from(source: SegmentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ContentReadError
impl !UnwindSafe for ContentReadError
impl Forget for ContentReadError
impl Freeze for ContentReadError
impl Move for ContentReadError
impl Send for ContentReadError
impl Sync for ContentReadError
impl Unpin for ContentReadError
impl UnsafeUnpin for ContentReadError
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