pub enum PageBody {
Head(Head),
BackupHead(BackupHead),
Blobs(u8, Vec<(Hash, u64)>),
Copies(u8, Vec<(EntityId, Hash, u64)>),
}Expand description
What a page tells.
Variants§
Head(Head)
The head of the account.
BackupHead(BackupHead)
The head of the account of a backup.
Blobs(u8, Vec<(Hash, u64)>)
The sealed blobs whose sealed hash’s digest starts with the byte, each with when the replica last read it in full and found it intact, in milliseconds since 1970, or 0 if it never did; sorted by sealed hash.
Copies(u8, Vec<(EntityId, Hash, u64)>)
The plain copies, on the replica’s device and unchanged, of the files whose ID starts with the byte: each file, the content the copy holds, and when the replica last read a copy of it in full and found the content, in milliseconds since 1970, or 0 if it never did; sorted by file and content.
Implementations§
Trait Implementations§
impl Eq for PageBody
impl StructuralPartialEq for PageBody
Auto Trait Implementations§
impl Forget for PageBody
impl Freeze for PageBody
impl Move for PageBody
impl RefUnwindSafe for PageBody
impl Send for PageBody
impl Sync for PageBody
impl Unpin for PageBody
impl UnsafeUnpin for PageBody
impl UnwindSafe for PageBody
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