RenderHtml::into_owned (#3580)

This commit is contained in:
zakstucke
2025-02-10 20:53:33 +00:00
committed by GitHub
parent c2289b23a7
commit b4e683d969
29 changed files with 317 additions and 36 deletions

View File

@@ -135,6 +135,7 @@ mod view_implementations {
Ser: Send + 'static,
{
type AsyncOutput = Option<T>;
type Owned = Self;
const MIN_LENGTH: usize = 0;
@@ -191,5 +192,9 @@ mod view_implementations {
(move || Suspend::new(async move { self.await }))
.hydrate::<FROM_SERVER>(cursor, position)
}
fn into_owned(self) -> Self::Owned {
self
}
}
}