pub enum SnapshotSource<R> {
Stored {
id: SnapshotId,
input: R,
author: MemberId,
},
Empty(Audience),
Current(Audience),
}Expand description
One readable audience’s starting prefix.
Variants§
Stored
A stored snapshot selected from authenticated history.
Fields
§
id: SnapshotIdExpected object identity.
§
input: RIts staged records, from a body that authenticated (§16.2).
Member whose key signed the body.
Empty(Audience)
History starts empty at slot zero.
Current(Audience)
Preserve this audience’s committed prefix and apply only subsequent slots.
Auto Trait Implementations§
impl<R> Freeze for SnapshotSource<R>where
R: Freeze,
impl<R> RefUnwindSafe for SnapshotSource<R>where
R: RefUnwindSafe,
impl<R> Send for SnapshotSource<R>where
R: Send,
impl<R> Sync for SnapshotSource<R>where
R: Sync,
impl<R> Unpin for SnapshotSource<R>where
R: Unpin,
impl<R> UnsafeUnpin for SnapshotSource<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for SnapshotSource<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