pub struct LookUpError { /* private fields */ }Expand description
This struct is an error type that is returned when attempting to get a value that is outside the range of the data. It implements the Debug and Display traits so that it can be easily printed as an error message.
Trait Implementations§
Source§impl Debug for LookUpError
impl Debug for LookUpError
Source§impl Display for LookUpError
impl Display for LookUpError
Source§impl Error for LookUpError
impl Error for LookUpError
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 LookUpError
impl RefUnwindSafe for LookUpError
impl Send for LookUpError
impl Sync for LookUpError
impl Unpin for LookUpError
impl UnwindSafe for LookUpError
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