pub enum ReactError {
TypeScript(TypeScriptError),
Render(String),
}Variants§
TypeScript(TypeScriptError)
Render(String)
Trait Implementations§
Source§impl Debug for ReactError
impl Debug for ReactError
Source§impl Display for ReactError
impl Display for ReactError
Source§impl Error for ReactError
impl Error for ReactError
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<TypeScriptError> for ReactError
impl From<TypeScriptError> for ReactError
Source§fn from(source: TypeScriptError) -> Self
fn from(source: TypeScriptError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReactError
impl RefUnwindSafe for ReactError
impl Send for ReactError
impl Sync for ReactError
impl Unpin for ReactError
impl UnwindSafe for ReactError
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