pub struct LoginRevocationChange { /* private fields */ }Expand description
Proposed ledger record from a serialized commit callback or trusted storage. A durable host must persist this with its session/replay changes before returning success. This is not a credential or reusable authorization result.
Implementations§
Source§impl LoginRevocationChange
impl LoginRevocationChange
Sourcepub fn check_replacement(
&self,
previous: &Self,
now_ns: u64,
) -> Result<(), LoginRevocationError>
pub fn check_replacement( &self, previous: &Self, now_ns: u64, ) -> Result<(), LoginRevocationError>
Check replacement of a trusted retained record for this same storage key. Live records keep their login binding/pool, denial and retention deadline. After expiry a new login/pool may replace them; domain and caller must still match. This does not authenticate storage, admit a proposed record, observe the clock, charge a budget or commit anything. Hosts retain those checks and exact pool accounting under their atomic transaction boundary.
Sourcepub fn audience(&self) -> AudienceId
pub fn audience(&self) -> AudienceId
Protected trust domain owning the record.
Sourcepub fn until_ns(&self) -> u64
pub fn until_ns(&self) -> u64
Exclusive retention deadline, including the configured clock margin.
Sourcepub fn state(&self) -> LoginRecordState
pub fn state(&self) -> LoginRecordState
Typed state from this checked ledger record. Storage codecs retain their existing frozen representation independently of this Rust projection.