pub enum StartupResolutionError<Error> {
Parameters(Error),
Resolver(Error),
}Expand description
Failure while decoding or resolving a startup route.
Variants§
Parameters(Error)
A startup parameter was not representable by the structured facade.
Resolver(Error)
The application resolver rejected the route.
Trait Implementations§
Source§impl<Error: Debug> Debug for StartupResolutionError<Error>
impl<Error: Debug> Debug for StartupResolutionError<Error>
Source§impl<Error: Display> Display for StartupResolutionError<Error>
impl<Error: Display> Display for StartupResolutionError<Error>
Source§impl<Error: Error + 'static> Error for StartupResolutionError<Error>
impl<Error: Error + 'static> Error for StartupResolutionError<Error>
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<Error> !RefUnwindSafe for StartupResolutionError<Error>
impl<Error> !UnwindSafe for StartupResolutionError<Error>
impl<Error> Freeze for StartupResolutionError<Error>where
Error: Freeze,
impl<Error> Send for StartupResolutionError<Error>where
Error: Send,
impl<Error> Sync for StartupResolutionError<Error>where
Error: Sync,
impl<Error> Unpin for StartupResolutionError<Error>where
Error: Unpin,
impl<Error> UnsafeUnpin for StartupResolutionError<Error>where
Error: UnsafeUnpin,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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