pub enum OffsetError {
TooLarge,
Negative,
}
Variants§
Trait Implementations§
Source§impl Debug for OffsetError
impl Debug for OffsetError
Source§impl Display for OffsetError
impl Display for OffsetError
Source§impl Error for OffsetError
impl Error for OffsetError
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 From<OffsetError> for CodecError
impl From<OffsetError> for CodecError
Source§fn from(oe: OffsetError) -> Self
fn from(oe: OffsetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OffsetError
impl RefUnwindSafe for OffsetError
impl Send for OffsetError
impl Sync for OffsetError
impl Unpin for OffsetError
impl UnwindSafe for OffsetError
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