pub struct ShardRequest<A> { /* private fields */ }Available on crate feature
router only.Expand description
The body of a request re-rendering a shard: the current values of its arguments and of the signals its content created.
The identity of the shard invocation travels separately, in the request’s identity header.
Implementations§
Source§impl<A> ShardRequest<A>
impl<A> ShardRequest<A>
Sourcepub fn into_parts(self) -> (A, SignalValues)
pub fn into_parts(self) -> (A, SignalValues)
Splits the request into the arguments to hand the shard body and the signal values to register on its request context.
Trait Implementations§
Source§impl<A: Debug> Debug for ShardRequest<A>
impl<A: Debug> Debug for ShardRequest<A>
Source§impl<'de, A> Deserialize<'de> for ShardRequest<A>where
Arguments<A>: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for ShardRequest<A>where
Arguments<A>: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<A> Freeze for ShardRequest<A>
impl<A> RefUnwindSafe for ShardRequest<A>where
Arguments<A>: RefUnwindSafe,
impl<A> Send for ShardRequest<A>
impl<A> Sync for ShardRequest<A>
impl<A> Unpin for ShardRequest<A>
impl<A> UnsafeUnpin for ShardRequest<A>where
Arguments<A>: UnsafeUnpin,
impl<A> UnwindSafe for ShardRequest<A>where
Arguments<A>: UnwindSafe,
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