pub enum RenderError {
    Error(CapturedError),
    Suspended(SuspendedFuture),
}Expand description
An error that can occur while rendering a component
Variants§
Error(CapturedError)
The render function returned early due to an error.
We captured the error, wrapped it in an Arc, and stored it here. You can no longer modify the error, but you can cheaply pass it around.
Suspended(SuspendedFuture)
The component was suspended
Trait Implementations§
Source§impl Clone for RenderError
 
impl Clone for RenderError
Source§fn clone(&self) -> RenderError
 
fn clone(&self) -> RenderError
Returns a duplicate 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 RenderError
 
impl Debug for RenderError
Source§impl Default for RenderError
 
impl Default for RenderError
Source§impl Display for RenderError
 
impl Display for RenderError
Source§impl From<CapturedError> for RenderError
 
impl From<CapturedError> for RenderError
Source§fn from(e: CapturedError) -> Self
 
fn from(e: CapturedError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RenderError
 
impl PartialEq for RenderError
impl StructuralPartialEq for RenderError
Auto Trait Implementations§
impl Freeze for RenderError
impl RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl UnwindSafe for RenderError
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> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
 
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
 
impl<T, O> SuperFrom<T> for Owhere
    O: From<T>,
Source§fn super_from(input: T) -> O
 
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
 
impl<T, O, M> SuperInto<O, M> for Twhere
    O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
 
fn super_into(self) -> O
Convert from a type to another type.