pub enum PageKind {
Head,
Blobs(u8),
Copies(u8),
}Expand description
Which page of an account a page is: the one with the disk, the marks and the heads, or one of the pages of the sealed blobs or of the plain copies, by the first byte of the sealed hashes’ digests or of the files’ IDs that it lists.
Variants§
Head
The disk, the device’s marks, and the heads.
Blobs(u8)
The sealed blobs whose sealed hash’s digest starts with this byte.
Copies(u8)
The plain copies of the files whose ID starts with this byte.
Implementations§
Trait Implementations§
impl Copy for PageKind
impl Eq for PageKind
Source§impl Ord for PageKind
impl Ord for PageKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PageKind
impl PartialOrd for PageKind
impl StructuralPartialEq for PageKind
Auto Trait Implementations§
impl Forget for PageKind
impl Freeze for PageKind
impl Move for PageKind
impl RefUnwindSafe for PageKind
impl Send for PageKind
impl Sync for PageKind
impl Unpin for PageKind
impl UnsafeUnpin for PageKind
impl UnwindSafe for PageKind
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