Skip to main content

ParsedKey

Enum ParsedKey 

Source
#[non_exhaustive]
pub enum ParsedKey {
Show 61 variants CachePurge(String), CachePurgeGeneration(String), BackupState, ShardingMarker, AddressingMarker, InspectionMarker, InspectionFlag { repo: RepoName, id: Hash, }, InspectionVersion(RepoName), InspectionHold { repo: RepoName, content: Hash, advance: Hash, }, InspectionHoldIndex { repo: RepoName, advance: Hash, }, InspectionHoldManifest { repo: RepoName, advance: Hash, }, LayoutVersion, NamespaceRecord, RepoRecord(RepoName), RepoListing { explicit_public: bool, repo: RepoName, }, RepoVisibility(RepoName), RepoKnown(RepoName), RelayHighWater(Partition), Ref { repo: RepoName, name: String, }, RefIndexEntry { repo: RepoName, name: String, }, Publication { repo: RepoName, name: String, }, Advance { repo: RepoName, name: String, sequence: u64, }, PublishedRef { repo: RepoName, name: String, }, PublishedIndex { repo: RepoName, name: String, }, PublishedMember { repo: RepoName, pack_id: Hash, }, Replay(Hash), ReplayExpiry { expires_at_ms: u64, scope: Hash, }, Quota(String), QuotaWindow { window_start_ms: u64, scope: String, }, QuotaShard(u64), QuotaView(u64), QuotaContribution { window: u64, source: Partition, }, QuotaTotal(u64), Ticket(Hash), TicketIndex { repo: RepoName, name: String, pack_id: Hash, signer: Hash, }, TicketsPerRef { repo: RepoName, name: String, }, TicketsPerSigner { repo: RepoName, name: String, signer: Hash, }, Membership { repo: RepoName, pack_id: Hash, }, Verification { repo: RepoName, pack_id: Hash, }, VerifyCursor { repo: RepoName, pack_id: Hash, sub: u8, id: Option<Hash>, }, ObjectIndex { repo: RepoName, object: Hash, pack_id: Hash, }, Reservation(String), OutcomePending { seq: u64, reservation_id: String, }, Relay(u64), RelayScan, OutboxSequence, OutcomeBacklog, GrantEpoch, AuthorityGeneration, EpochLease, LeasedShard { repo: RepoName, shard_ref: String, }, LeaseRecovery, FenceCursor(u8), LeaseReconcile, Timer { due_at_ms: u64, kind: u8, reference: Bytes, }, Holder { object: Hash, ns: NamespaceKey, repo: RepoName, }, Hold { object: Hash, hold_id: Hash, }, PendingHolder { object: Hash, hold_id: Hash, }, ContentTakedown { object: Hash, intent: Hash, }, Block(Hash), ObjectState(Hash),
}
Expand description

A key decoded by parse.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

CachePurge(String)

Pending cache purge id.

§

CachePurgeGeneration(String)

Durable cache scope invalidation time.

§

BackupState

bk 00.

§

ShardingMarker

sm 00: the Worker deployment sharding mode.

§

AddressingMarker

am 00: the Worker deployment addressing mode.

§

InspectionMarker

im 00: durable inspection mode.

§

InspectionFlag

if 00 <repo> 00 <id:32>.

Fields

§id: Hash
§

InspectionVersion(RepoName)

iv 00 <repo>.

§

InspectionHold

ih 00 <repo> 00 <content:32> <advance:32>.

Fields

§content: Hash
§advance: Hash
§

InspectionHoldIndex

ia 00 <repo> 00 <advance:32>.

Fields

§advance: Hash
§

InspectionHoldManifest

ir 00 <repo> 00 <advance:32>.

Fields

§advance: Hash
§

LayoutVersion

v 00.

§

NamespaceRecord

nr 00.

§

RepoRecord(RepoName)

rr 00 <repo>.

§

RepoListing

rl 00 p/d 00 <repo>; index values are empty.

Fields

§explicit_public: bool
§

RepoVisibility(RepoName)

rv 00 <repo>.

§

RepoKnown(RepoName)

rk 00 <repo>.

§

RelayHighWater(Partition)

rh 00 <Partition::encode(source)>. Never pruned.

§

Ref

r 00 <repo> 00 <refname>.

Fields

§repo: RepoName

Repository.

§name: String

Full ref name.

§

RefIndexEntry

x 00 <repo> 00 <refname>.

Fields

§repo: RepoName

Repository.

§name: String

Full ref name.

§

Publication

Publication key with a validated full sequence/ref name.

Fields

§name: String
§

Advance

Retained advance, with nonzero sequence.

Fields

§name: String
§sequence: u64
§

PublishedRef

Authoritative published value.

Fields

§name: String
§

PublishedIndex

Published ref projection.

Fields

§name: String
§

PublishedMember

Versioned published membership witness.

Fields

§pack_id: Hash
§

Replay(Hash)

p 00 <scope>.

§

ReplayExpiry

px 00 <expires_at> <scope>.

Fields

§expires_at_ms: u64

Record expiry, Unix ms.

§scope: Hash

Record scope.

§

Quota(String)

q 00 <scope>.

§

QuotaWindow

qx 00 <window_start> <scope>.

Fields

§window_start_ms: u64

Window start, Unix ms.

§scope: String

Quota scope.

§

QuotaShard(u64)

qs 00 <window>.

§

QuotaView(u64)

qv 00 <window>.

§

QuotaContribution

qc 00 <window> <source>.

Fields

§window: u64
§source: Partition
§

QuotaTotal(u64)

qt 00 <window>.

§

Ticket(Hash)

t 00 <ticket_id>.

§

TicketIndex

ti 00 <repo> 00 <ref> 00 <pack> <signer>.

Fields

§repo: RepoName

Repository.

§name: String

Ref name.

§pack_id: Hash

Pack id.

§signer: Hash

Signer id.

§

TicketsPerRef

tc 00 <repo> 00 <ref>.

Fields

§repo: RepoName

Repository.

§name: String

Ref name.

§

TicketsPerSigner

tu 00 <repo> 00 <ref> 00 <signer>.

Fields

§repo: RepoName

Repository.

§name: String

Ref name.

§signer: Hash

Signer id.

§

Membership

m 00 <repo> 00 <pack>.

Fields

§repo: RepoName

Repository.

§pack_id: Hash

Pack id.

§

Verification

vs 00 <repo> 00 <pack>.

Fields

§pack_id: Hash
§

VerifyCursor

vc 00 <repo> 00 <pack> <sub> [<id>].

Fields

§repo: RepoName

Repository.

§pack_id: Hash

Pack id.

§sub: u8

Sub-class, one of the VC_* constants.

§id: Option<Hash>

Object id, for every sub-class but the job row.

§

ObjectIndex

i 00 <repo> 00 <object> <pack>.

Fields

§repo: RepoName

Repository.

§object: Hash

Object id.

§pack_id: Hash

Pack id.

§

Reservation(String)

o 00 <reservation_id>.

§

OutcomePending

oq 00 <seq> <reservation_id>.

Fields

§seq: u64

Allocated sequence.

§reservation_id: String

Reservation id.

§

Relay(u64)

or 00 <seq>.

§

RelayScan

rs 00: persistent source relay scan progress.

§

OutboxSequence

os 00.

§

OutcomeBacklog

oc 00.

§

GrantEpoch

e 00.

§

AuthorityGeneration

Independent deployment-authority generation.

§

EpochLease

el 00.

§

LeasedShard

ls 00 <repo> 00 <shard_ref>.

Fields

§repo: RepoName

Repository whose ref shard holds the lease.

§shard_ref: String

The Partition::Ref.shard_ref identity.

§

LeaseRecovery

lr 00.

§

FenceCursor(u8)

fc 00 <kind:u8>: independent generation/recovery-bound cursor.

§

LeaseReconcile

lrc 00.

§

Timer

w 00 <due_at> <kind> <attempt> <original_due> <ref>.

Fields

§due_at_ms: u64

Physical wake time, Unix ms; timer_retry_state retains handler time.

§kind: u8

Timer kind.

§reference: Bytes

What the timer refers to.

§

Holder

h 00 <object> <ns> 00 <repo>.

Fields

§object: Hash

Object id.

§ns: NamespaceKey

Holding namespace.

§repo: RepoName

Holding repository.

§

Hold

g 00 <object> <hold_id>.

Fields

§object: Hash

Object id.

§hold_id: Hash

Hold id.

§

PendingHolder

gp 00 <object> <hold_id>: pending-holder ownership.

Fields

§object: Hash

Object id.

§hold_id: Hash

Matching extraction hold id.

§

ContentTakedown

ct 00 <object> <intent>: durable late-holder takedown request.

Fields

§object: Hash

Blocked object.

§intent: Hash

Domain-bound holder intent identity.

§

Block(Hash)

b 00 <object>.

§

ObjectState(Hash)

c 00 <object>.

Trait Implementations§

Source§

impl Clone for ParsedKey

Source§

fn clone(&self) -> Self

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 Debug for ParsedKey

Source§

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

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

impl Eq for ParsedKey

Source§

impl PartialEq for ParsedKey

Source§

fn eq(&self, other: &Self) -> 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 ParsedKey

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> MaybeSend for T
where T: Send + ?Sized,

Source§

impl<T> MaybeSync for T
where T: Sync + ?Sized,

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more