pub enum ObjectLookupError {
ObjectDoesNotExist(u32),
DowncastFailed,
}
Expand description
Errors generated when looking up objects from the map.
Variants§
Trait Implementations§
Source§impl Debug for ObjectLookupError
impl Debug for ObjectLookupError
Source§impl Display for ObjectLookupError
impl Display for ObjectLookupError
Source§impl Error for ObjectLookupError
impl Error for ObjectLookupError
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 ObjectLookupError
impl RefUnwindSafe for ObjectLookupError
impl Send for ObjectLookupError
impl Sync for ObjectLookupError
impl Unpin for ObjectLookupError
impl UnwindSafe for ObjectLookupError
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