pub enum OverlayError {
Document(Error),
Syntax(Error),
Invalid(Error),
Apply(ApplyError),
}Expand description
The Overlay, or the document it is applied to, is not usable.
Variants§
Trait Implementations§
Source§impl Debug for OverlayError
impl Debug for OverlayError
Source§impl Display for OverlayError
impl Display for OverlayError
Source§impl Error for OverlayError
impl Error for OverlayError
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 From<OverlayError> for LoadError
impl From<OverlayError> for LoadError
Source§fn from(source: OverlayError) -> Self
fn from(source: OverlayError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OverlayError
impl !UnwindSafe for OverlayError
impl Freeze for OverlayError
impl Send for OverlayError
impl Sync for OverlayError
impl Unpin for OverlayError
impl UnsafeUnpin for OverlayError
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