pub enum ParkSemantics {
CopyWhileLive,
MoveOnly,
}Expand description
Whether a parked copy may exist while the same account is still live.
For Claude Code it may: the live document holds the machine’s other keys too, and
nothing revokes for presenting either copy. For Codex it must not. codex login and
codex logout both revoke the stored refresh token at OpenAI before clearing it, so a
copy left live while its twin sits in the vault is a token the person’s own next login
can kill in both places at once.
Variants§
CopyWhileLive
A park may be a copy; the live credential can keep working.
MoveOnly
There must never be two usable copies of one account’s credential at rest on this machine, not even between two steps of a switch.
Trait Implementations§
Source§impl Clone for ParkSemantics
impl Clone for ParkSemantics
impl Copy for ParkSemantics
Source§impl Debug for ParkSemantics
impl Debug for ParkSemantics
impl Eq for ParkSemantics
Source§impl PartialEq for ParkSemantics
impl PartialEq for ParkSemantics
impl StructuralPartialEq for ParkSemantics
Auto Trait Implementations§
impl Freeze for ParkSemantics
impl RefUnwindSafe for ParkSemantics
impl Send for ParkSemantics
impl Sync for ParkSemantics
impl Unpin for ParkSemantics
impl UnsafeUnpin for ParkSemantics
impl UnwindSafe for ParkSemantics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.