pub enum MoveSecrets {
Bring,
Leave,
}Expand description
Whether a move takes the secret values of what it moves (technical design: sharing): the values of fields secret in the old space.
Variants§
Bring
Takes them, current and past alike, sealed with the other space’s secrets key, which needs the secrets of both spaces unlocked; a field secret in the old space becomes secret in the new one.
Leave
Leaves them with the old entity, which keeps them, as no purge of what a move leaves behind takes a secret value that did not move.
Trait Implementations§
Source§impl Clone for MoveSecrets
impl Clone for MoveSecrets
impl Copy for MoveSecrets
Source§impl Debug for MoveSecrets
impl Debug for MoveSecrets
impl Eq for MoveSecrets
Source§impl PartialEq for MoveSecrets
impl PartialEq for MoveSecrets
impl StructuralPartialEq for MoveSecrets
Auto Trait Implementations§
impl Forget for MoveSecrets
impl Freeze for MoveSecrets
impl Move for MoveSecrets
impl RefUnwindSafe for MoveSecrets
impl Send for MoveSecrets
impl Sync for MoveSecrets
impl Unpin for MoveSecrets
impl UnsafeUnpin for MoveSecrets
impl UnwindSafe for MoveSecrets
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.