pub enum OutOfScope {
NotListed(&'static str),
NotLoaded(&'static str),
}Expand description
Why a section is not in this request’s snapshot.
Variants§
NotListed(&'static str)
The type was never registered on the layer.
NotLoaded(&'static str)
It was registered, and nothing had installed a value when the request began.
Implementations§
Trait Implementations§
Source§impl Clone for NotInScope
impl Clone for NotInScope
Source§fn clone(&self) -> NotInScope
fn clone(&self) -> NotInScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotInScope
Source§impl Debug for NotInScope
impl Debug for NotInScope
Source§impl Display for NotInScope
impl Display for NotInScope
impl Eq for NotInScope
Source§impl Error for NotInScope
impl Error for NotInScope
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 PartialEq for NotInScope
impl PartialEq for NotInScope
impl StructuralPartialEq for NotInScope
Auto Trait Implementations§
impl Freeze for NotInScope
impl RefUnwindSafe for NotInScope
impl Send for NotInScope
impl Sync for NotInScope
impl Unpin for NotInScope
impl UnsafeUnpin for NotInScope
impl UnwindSafe for NotInScope
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