pub struct ShardRef { /* private fields */ }Expand description
An owned handle to a shard. Holding this does not block scaling
operations; the shard stays alive via Arc refcount even if
removed from the table.
Implementations§
Auto Trait Implementations§
impl Freeze for ShardRef
impl !RefUnwindSafe for ShardRef
impl Send for ShardRef
impl Sync for ShardRef
impl Unpin for ShardRef
impl UnsafeUnpin for ShardRef
impl !UnwindSafe for ShardRef
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