pub enum SnapshotMissing {
NoMiddleware,
Section(NotInScope),
}Expand description
Why a Config extractor could not answer.
Every variant is a wiring mistake rather than anything a client did,
which is why they are all 500.
Variants§
NoMiddleware
No DynamicConfig middleware ran for this request.
Section(NotInScope)
It ran, and this section was not in what it took.
Trait Implementations§
Source§impl Clone for SnapshotMissing
impl Clone for SnapshotMissing
Source§fn clone(&self) -> SnapshotMissing
fn clone(&self) -> SnapshotMissing
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 SnapshotMissing
Source§impl Debug for SnapshotMissing
impl Debug for SnapshotMissing
Source§impl Display for SnapshotMissing
impl Display for SnapshotMissing
Source§impl Error for SnapshotMissing
impl Error for SnapshotMissing
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 ResponseError for SnapshotMissing
impl ResponseError for SnapshotMissing
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
Auto Trait Implementations§
impl Freeze for SnapshotMissing
impl RefUnwindSafe for SnapshotMissing
impl Send for SnapshotMissing
impl Sync for SnapshotMissing
impl Unpin for SnapshotMissing
impl UnsafeUnpin for SnapshotMissing
impl UnwindSafe for SnapshotMissing
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