pub enum RenderError {
Aborted(CapturedError),
Suspended(SuspendedFuture),
}
Expand description
An error that can occur while rendering a component
Variants§
Aborted(CapturedError)
The render function returned early
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 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 RenderError
impl Debug for RenderError
source§impl Default for RenderError
impl Default for RenderError
source§fn default() -> RenderError
fn default() -> RenderError
Returns the “default value” for a type. Read more
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) -> RenderError
fn from(e: CapturedError) -> RenderError
Converts to this type from the input type.
source§impl<E> From<E> for RenderErrorwhere
E: Error + 'static,
impl<E> From<E> for RenderErrorwhere
E: Error + 'static,
source§fn from(e: E) -> RenderError
fn from(e: E) -> RenderError
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
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.