pub struct ShardScope<'cx, V> { /* private fields */ }Available on crate feature
router only.Expand description
A shard invocation’s content between the markers the browser finds it by.
The markers surround the shard body’s first content. Later updates from a live body pass through unchanged, so a live shard keeps streaming like any other live content.
Implementations§
Trait Implementations§
impl<'__pin, 'cx, V> Unpin for ShardScope<'cx, V>where
PinnedFieldsOf<__Origin<'__pin, 'cx, V>>: Unpin,
Auto Trait Implementations§
impl<'cx, V> !RefUnwindSafe for ShardScope<'cx, V>
impl<'cx, V> !UnwindSafe for ShardScope<'cx, V>
impl<'cx, V> Freeze for ShardScope<'cx, V>where
V: Freeze,
impl<'cx, V> Send for ShardScope<'cx, V>where
V: Send,
impl<'cx, V> Sync for ShardScope<'cx, V>where
V: Sync,
impl<'cx, V> UnsafeUnpin for ShardScope<'cx, V>where
V: UnsafeUnpin,
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> 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<V> ViewExt for V
impl<V> ViewExt for V
Source§fn first(self) -> impl Future<Output = Result<ViewHandle, Error>> + Sendwhere
Self: Sized,
fn first(self) -> impl Future<Output = Result<ViewHandle, Error>> + Sendwhere
Self: Sized,
Resolves the view’s first content and discards the view. Read more