pub struct Reply<T> {
pub reply: T,
pub fragments: Vec<CoreTextFragment>,
}
Expand description
Reply to a request, it contains the actual reply value, and additional text fragments.
Fields§
§reply: T
The actual reply value
fragments: Vec<CoreTextFragment>
Additional text fragments received during the rpc
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Reply<T>where
T: Freeze,
impl<T> RefUnwindSafe for Reply<T>where
T: RefUnwindSafe,
impl<T> Send for Reply<T>where
T: Send,
impl<T> Sync for Reply<T>where
T: Sync,
impl<T> Unpin for Reply<T>where
T: Unpin,
impl<T> UnwindSafe for Reply<T>where
T: 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