Skip to main content

ContentQuarantine

Struct ContentQuarantine 

Source
pub struct ContentQuarantine { /* private fields */ }
Expand description

Durable, exact-content quarantine coordinate.

The record binds one accepted reclaim intent, the leased-only barrier, and the trusted reader-drain attestation used by the transition. Quarantine prevents new leased opens but retains the descriptor and all content bytes. Attachment authority or a physical hold may atomically return the content to Active state before any future deletion protocol begins.

Implementations§

Source§

impl ContentQuarantine

Source

pub const fn storage_domain_id(self) -> StorageDomainId

Returns the physical lifecycle domain.

Source

pub const fn content_id(self) -> ContentId

Returns the exact immutable content identity.

Source

pub const fn proof_token(self) -> ContentReclaimProofToken

Returns the opaque higher-layer proof token accepted by the intent.

Source

pub const fn verified_at(self) -> ReadVersion

Returns the logical proof’s stable verification coordinate.

Source

pub const fn proof_expires_at_unix_ms(self) -> u64

Returns the logical proof’s exclusive Unix-millisecond deadline.

Expiry does not remove an already durable quarantine. A future sweep still needs a fresh logical proof and all physical checks.

Source

pub const fn intent_accepted_at(self) -> ReadVersion

Returns the commit sequence that accepted the matching reclaim intent.

Source

pub const fn barrier_id(self) -> ContentAccessBarrierId

Returns the irreversible leased-only barrier identity.

Source

pub const fn barrier_enforced_at(self) -> ReadVersion

Returns the commit sequence that completed the leased-only barrier.

Source

pub const fn drain_attestation_id(self) -> ContentReaderDrainAttestationId

Returns the trusted coordinator attestation bound to the transition.

Source

pub const fn quarantined_at(self) -> ReadVersion

Returns the commit sequence that established quarantine.

Trait Implementations§

Source§

impl Clone for ContentQuarantine

Source§

fn clone(&self) -> ContentQuarantine

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ContentQuarantine

Source§

impl Debug for ContentQuarantine

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ContentQuarantine

Source§

impl PartialEq for ContentQuarantine

Source§

fn eq(&self, other: &ContentQuarantine) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ContentQuarantine

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.