pub struct ShardMessage {
pub request: ShardRequest,
pub reply: Sender<ShardResponse>,
}Expand description
A request bundled with its reply channel.
Fields§
§request: ShardRequest§reply: Sender<ShardResponse>Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ShardMessage
impl !RefUnwindSafe for ShardMessage
impl Send for ShardMessage
impl Sync for ShardMessage
impl Unpin for ShardMessage
impl !UnwindSafe for ShardMessage
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