pub enum Affinity {
Off,
Pin,
}Expand description
Whether the proxy pins cursor follow-ups to the cluster that created them.
Opt-in, off by default, deployments without cursors pay no state cost
(docs/03 §6).
Variants§
Off
No pinning; cursor requests resolve through the normal path.
Pin
Pin each cursor’s follow-ups to its creating cluster.
Trait Implementations§
impl Copy for Affinity
impl Eq for Affinity
impl StructuralPartialEq for Affinity
Auto Trait Implementations§
impl Freeze for Affinity
impl RefUnwindSafe for Affinity
impl Send for Affinity
impl Sync for Affinity
impl Unpin for Affinity
impl UnsafeUnpin for Affinity
impl UnwindSafe for Affinity
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