pub struct EarlyReply<R> {
pub connection_id: u64,
pub request_id: RequestId,
pub kind: EarlyKind<R>,
}Expand description
An answer a reader decided on without publishing the request, on its way to the response stage.
Fields§
§connection_id: u64Connection the request arrived on.
request_id: RequestIdThe client’s ID for the request, echoed on the reply’s final frame.
kind: EarlyKind<R>What the answer is.
Trait Implementations§
Source§impl<R: Clone> Clone for EarlyReply<R>
impl<R: Clone> Clone for EarlyReply<R>
impl<R: Copy> Copy for EarlyReply<R>
Source§impl<R: Debug> Debug for EarlyReply<R>
impl<R: Debug> Debug for EarlyReply<R>
impl<R: Eq> Eq for EarlyReply<R>
Source§impl<R: PartialEq> PartialEq for EarlyReply<R>
impl<R: PartialEq> PartialEq for EarlyReply<R>
impl<R: PartialEq> StructuralPartialEq for EarlyReply<R>
Auto Trait Implementations§
impl<R> Freeze for EarlyReply<R>
impl<R> RefUnwindSafe for EarlyReply<R>where
EarlyKind<R>: RefUnwindSafe,
impl<R> Send for EarlyReply<R>
impl<R> Sync for EarlyReply<R>
impl<R> Unpin for EarlyReply<R>
impl<R> UnsafeUnpin for EarlyReply<R>where
EarlyKind<R>: UnsafeUnpin,
impl<R> UnwindSafe for EarlyReply<R>where
EarlyKind<R>: 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