pub enum CompileError {
Dom(RenderDomError),
Xml(DomXmlParseError),
Css(CssParseErrorOwned),
}
Expand description
Error that can happen from the translation from XML code to Rust code - stringified, since it is only used for printing and is not exposed in the public API
Variants§
Trait Implementations§
Source§impl Clone for CompileError
impl Clone for CompileError
Source§fn clone(&self) -> CompileError
fn clone(&self) -> CompileError
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 Debug for CompileError
impl Debug for CompileError
Source§impl<'a> Display for CompileError
impl<'a> Display for CompileError
Source§impl From<ComponentError> for CompileError
impl From<ComponentError> for CompileError
Source§fn from(e: ComponentError) -> CompileError
fn from(e: ComponentError) -> CompileError
Converts to this type from the input type.
Source§impl From<CssParseErrorOwned> for CompileError
impl From<CssParseErrorOwned> for CompileError
Source§fn from(e: CssParseErrorOwned) -> CompileError
fn from(e: CssParseErrorOwned) -> CompileError
Converts to this type from the input type.
Source§impl From<DomXmlParseError> for CompileError
impl From<DomXmlParseError> for CompileError
Source§fn from(e: DomXmlParseError) -> CompileError
fn from(e: DomXmlParseError) -> CompileError
Converts to this type from the input type.
Source§impl From<RenderDomError> for CompileError
impl From<RenderDomError> for CompileError
Source§fn from(e: RenderDomError) -> CompileError
fn from(e: RenderDomError) -> CompileError
Converts to this type from the input type.
Source§impl PartialEq for CompileError
impl PartialEq for CompileError
impl StructuralPartialEq for CompileError
Auto Trait Implementations§
impl Freeze for CompileError
impl RefUnwindSafe for CompileError
impl Send for CompileError
impl Sync for CompileError
impl Unpin for CompileError
impl UnwindSafe for CompileError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more