pub struct Recovered {
pub revoked: Vec<Replica>,
pub kept: Vec<Replica>,
pub revoked_elsewhere: Vec<SpaceId>,
pub spaces: Vec<SpaceId>,
pub missing: Vec<SpaceId>,
pub out_of_reach: Vec<HeldElsewhere>,
pub secrets: RecoveredSecrets,
pub from: RecoveredFrom,
}Expand description
What a recovery did.
Fields§
§revoked: Vec<Replica>The replicas of the person’s other devices that it revoked, as they were before.
kept: Vec<Replica>The replicas of the person’s other devices that it kept, as the person still has them.
revoked_elsewhere: Vec<SpaceId>The spaces and groups where it also revoked replicas of the person’s that the personal space it took did not list, as a backup holds that was last updated by a computer that learned of a device from another member alone.
spaces: Vec<SpaceId>The person’s other spaces and groups that came back.
missing: Vec<SpaceId>The spaces and groups given to the code that the backup holds nothing of, which did not come back.
out_of_reach: Vec<HeldElsewhere>The spaces of the person’s that the devices it revoked held and that did not come back, each with the devices it kept that hold it, which revoke them there after their next sync with this one: one that none holds stays with the revoked devices (technical design).
secrets: RecoveredSecretsWhat became of the secrets.
from: RecoveredFromWhat it recovered from.
Trait Implementations§
impl Eq for Recovered
impl StructuralPartialEq for Recovered
Auto Trait Implementations§
impl Forget for Recovered
impl Freeze for Recovered
impl Move for Recovered
impl RefUnwindSafe for Recovered
impl Send for Recovered
impl Sync for Recovered
impl Unpin for Recovered
impl UnsafeUnpin for Recovered
impl UnwindSafe for Recovered
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
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
key and return true if they are equal.