pub struct MissingResource(/* private fields */);
Expand description
Error returned when a resource of some type does not exist.
Trait Implementations§
Source§impl Debug for MissingResource
impl Debug for MissingResource
Source§impl Display for MissingResource
impl Display for MissingResource
Source§impl Error for MissingResource
impl Error for MissingResource
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 MissingResource
impl RefUnwindSafe for MissingResource
impl Send for MissingResource
impl Sync for MissingResource
impl Unpin for MissingResource
impl UnwindSafe for MissingResource
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