pub enum ErrorPageError {
NotInternalPath(String),
BadTemplate(VarError),
}Expand description
构造期错误。
Variants§
Trait Implementations§
Source§impl Clone for ErrorPageError
impl Clone for ErrorPageError
Source§impl Debug for ErrorPageError
impl Debug for ErrorPageError
Source§impl Display for ErrorPageError
impl Display for ErrorPageError
impl Eq for ErrorPageError
Source§impl Error for ErrorPageError
impl Error for ErrorPageError
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 ErrorPageError
impl PartialEq for ErrorPageError
impl StructuralPartialEq for ErrorPageError
Auto Trait Implementations§
impl Forget for ErrorPageError
impl Freeze for ErrorPageError
impl Move for ErrorPageError
impl RefUnwindSafe for ErrorPageError
impl Send for ErrorPageErrorwhere
RawVecInner: Send,
impl Sync for ErrorPageErrorwhere
RawVecInner: Sync,
impl Unpin for ErrorPageError
impl UnsafeUnpin for ErrorPageError
impl UnwindSafe for ErrorPageErrorwhere
RawVecInner: UnwindSafe,
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