pub struct ContentStatus {
pub bytes: u64,
pub state: ContentState,
}Expand description
What is known about the content sidecar beside a snapshot.
Whether a sidecar is there is decided by its magic, as for a snapshot, so a sidecar this build cannot serve is still reported and cleared with its snapshot. Whether it is current is decided by its own header: its format version and engine fingerprint. Whether it pairs with the snapshot beside it is a question of identity equality, which loading asks and status reports by carrying both identities.
Fields§
§bytes: u64Size on disk, in bytes.
state: ContentStateWhat the sidecar is, as far as this build can tell.
Trait Implementations§
Source§impl Clone for ContentStatus
impl Clone for ContentStatus
Source§impl Debug for ContentStatus
impl Debug for ContentStatus
impl Eq for ContentStatus
Source§impl PartialEq for ContentStatus
impl PartialEq for ContentStatus
impl StructuralPartialEq for ContentStatus
Auto Trait Implementations§
impl Freeze for ContentStatus
impl RefUnwindSafe for ContentStatus
impl Send for ContentStatus
impl Sync for ContentStatus
impl Unpin for ContentStatus
impl UnsafeUnpin for ContentStatus
impl UnwindSafe for ContentStatus
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