Table of Contents

Struct StoredContentClaimRecord

Namespace
MailFathom.Application.EmailContent.Storage
Assembly
MailFathom.Application.dll

What the claim store made of one request for room: the claim it wrote, or the bound that refused it.

public readonly record struct StoredContentClaimRecord : IEquatable<StoredContentClaimRecord>
Implements
Inherited Members

Remarks

The store's own answer rather than StoredContentClaimAttempt, because a claim identifier is what an adapter can produce and a releasable claim is not: the disposable belongs to the ceiling that knows which store to give the room back to.

Constructors

StoredContentClaimRecord(Guid?, StoredContentBound)

What the claim store made of one request for room: the claim it wrote, or the bound that refused it.

Properties

ClaimId

The claim that now binds for every replica, or null where none was taken.

IsGranted

Gets whether room was found, which is what separates an unbounded grant from a refusal.

ReachedBound

Which ceiling refused, or None where room was found.

Unbounded

Gets the record a deployment that bounds nothing receives, which takes no room and refuses nobody.