pub enum ReadRawError {
CrossBoundary,
EndOfData,
}Expand description
Errors returned by RawReader::read_next.
Variants§
CrossBoundary
The requested byte range crosses a slab boundary (slabs are immutable and non-contiguous).
EndOfData
Trait Implementations§
Source§impl Debug for ReadRawError
impl Debug for ReadRawError
Source§impl Display for ReadRawError
impl Display for ReadRawError
Source§impl Error for ReadRawError
impl Error for ReadRawError
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()
Auto Trait Implementations§
impl Freeze for ReadRawError
impl RefUnwindSafe for ReadRawError
impl Send for ReadRawError
impl Sync for ReadRawError
impl Unpin for ReadRawError
impl UnsafeUnpin for ReadRawError
impl UnwindSafe for ReadRawError
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