Enum srgn::ApplicationError
source · pub enum ApplicationError<'viewee> {
ViewWithoutAnyInScope {
input: &'viewee str,
view: ScopedView<'viewee>,
},
}Expand description
An error as returned by apply.
Variants§
ViewWithoutAnyInScope
Fields
§
view: ScopedView<'viewee>The built view over the input.
After scoping, the resulting ScopedView was found to contain nothing In
scope. No action was applied.
Trait Implementations§
source§impl<'viewee> Clone for ApplicationError<'viewee>
impl<'viewee> Clone for ApplicationError<'viewee>
source§fn clone(&self) -> ApplicationError<'viewee>
fn clone(&self) -> ApplicationError<'viewee>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'viewee> Debug for ApplicationError<'viewee>
impl<'viewee> Debug for ApplicationError<'viewee>
source§impl Display for ApplicationError<'_>
impl Display for ApplicationError<'_>
source§impl Error for ApplicationError<'_>
impl Error for ApplicationError<'_>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<'viewee> RefUnwindSafe for ApplicationError<'viewee>
impl<'viewee> Send for ApplicationError<'viewee>
impl<'viewee> Sync for ApplicationError<'viewee>
impl<'viewee> Unpin for ApplicationError<'viewee>
impl<'viewee> UnwindSafe for ApplicationError<'viewee>
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