pub enum SlotContent<R> {
Writes {
size: u64,
writes: Vec<R>,
},
Admin {
original: OriginalSlot,
effect: Option<AdminEffect>,
},
KeyCopy(OriginalSlot),
Announcement {
original: OriginalSlot,
accepted: Option<SnapshotAnnouncement>,
},
}Expand description
One slot kind; readable write parts are applied together.
Variants§
Writes
Original writes in increasing author write-number order.
Fields
Admin
An original admin object and its checked effect, absent for a refusal.
Fields
§
original: OriginalSlotExact signed evidence retained by store snapshots.
§
effect: Option<AdminEffect>The effect authorized by the preceding prefix.
KeyCopy(OriginalSlot)
An authenticated key-copy object, including refused copies.
Announcement
An authenticated snapshot announcement. Its original is kept only when it is accepted: no rule reads a refused one (§16.1).
Fields
§
original: OriginalSlotExact signed evidence retained by store snapshots.
§
accepted: Option<SnapshotAnnouncement>The announcement as this device accepted it against the preceding prefix; absent for a refused one, and for one a reload stages again at or below its store snapshot’s coverage, whose originals the snapshot or this device already holds.
Auto Trait Implementations§
impl<R> Freeze for SlotContent<R>
impl<R> RefUnwindSafe for SlotContent<R>where
R: RefUnwindSafe,
impl<R> Send for SlotContent<R>where
R: Send,
impl<R> Sync for SlotContent<R>where
R: Sync,
impl<R> Unpin for SlotContent<R>where
R: Unpin,
impl<R> UnsafeUnpin for SlotContent<R>
impl<R> UnwindSafe for SlotContent<R>where
R: UnwindSafe,
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