pub enum RenderMode {
Ssr,
Island,
Static,
}Expand description
What we are rendering for. Mostly used to tweak hydration markers.
Variants§
Ssr
Full server side render including resumability payload.
Island
Render an island in isolation — used by the dev server to update one island after a hot reload.
Static
Static export, no resumability needed.
Trait Implementations§
Source§impl Clone for RenderMode
impl Clone for RenderMode
Source§fn clone(&self) -> RenderMode
fn clone(&self) -> RenderMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderMode
Source§impl Debug for RenderMode
impl Debug for RenderMode
impl Eq for RenderMode
Source§impl PartialEq for RenderMode
impl PartialEq for RenderMode
impl StructuralPartialEq for RenderMode
Auto Trait Implementations§
impl Freeze for RenderMode
impl RefUnwindSafe for RenderMode
impl Send for RenderMode
impl Sync for RenderMode
impl Unpin for RenderMode
impl UnsafeUnpin for RenderMode
impl UnwindSafe for RenderMode
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