pub struct Handover {
pub to: ShardId,
pub view: Sender<ShardView>,
}Expand description
Where a migrating connection’s held view is sent.
Fields§
§to: ShardIdThe shard the connection is moving to, reported to the flavor.
view: Sender<ShardView>Receives the composed view the client still holds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Handover
impl !RefUnwindSafe for Handover
impl Send for Handover
impl Sync for Handover
impl Unpin for Handover
impl !UnwindSafe for Handover
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