Enum SsrMode
pub enum SsrMode {
Sync,
Blocking,
Streaming,
}
Expand description
The mode in which SSR is being run.
Variants§
Sync
Synchronous mode.
When a suspense boundary is hit, only the fallback is rendered.
Blocking
Blocking mode.
When a suspense boundary is hit, rendering is paused until the suspense is resolved.
Streaming
Streaming mode.
When a suspense boundary is hit, the fallback is rendered. Once the suspense is resolved, the rendered HTML is streamed to the client.
Trait Implementations§
impl Copy for SsrMode
impl Eq for SsrMode
impl StructuralPartialEq for SsrMode
Auto Trait Implementations§
impl Freeze for SsrMode
impl RefUnwindSafe for SsrMode
impl Send for SsrMode
impl Sync for SsrMode
impl Unpin for SsrMode
impl UnwindSafe for SsrMode
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
)