pub enum RenderMode {
Adoptable,
Static,
}Expand description
Whether the HTML is intended for client adoption.
Existing walker entry points always use RenderMode::Adoptable. The server
selects RenderMode::Static only for a route with no client JavaScript and
no declared islands. Both modes retain the same value rules and refusals.
Variants§
Adoptable
Write the complete marker vocabulary consumed by strict adoption.
Static
Omit adoption markers, empty-text holders and injected row keys.
Modules containing islands are refused with IrError::InvalidSection.
Trait Implementations§
Source§impl Clone for RenderMode
impl Clone for RenderMode
impl 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