Skip to main content

Category

Enum Category 

Source
#[non_exhaustive]
pub enum Category {
Show 14 variants Status, Config, Log, Cache, HostedStores, Sync, Updater, Pairing, Peers, Subscriptions, Wallet, Spends, Profile, Collateral,
}
Expand description

The functional area a control method belongs to — for grouping in UIs and docs.

#[non_exhaustive] so adding a category in a minor release is additive; downstream matches must carry a _ => … arm. A new method often arrives with a new area, so this enum grows on the same cadence as ControlMethod and needs the same guarantee.

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

Status

Node status snapshot.

§

Config

Node configuration (upstream override).

§

Log

Live log-level control.

§

Cache

On-disk content cache.

§

HostedStores

Hosted/pinned stores.

§

Sync

§21 authenticated whole-store sync.

§

Updater

The DIG auto-update beacon proxy.

§

Pairing

Control-token pairing lifecycle.

§

Peers

The L7 peer network: the live pool snapshot, the per-network peer counts, and dial/drop.

§

Subscriptions

The node’s subscribed-store set.

§

Wallet

Wallet chain transport: the read-only chain views (balance, coins, one coin by id, peak, sync status) plus the push of an already-signed spend bundle.

§

Spends

The automated-spend AUDIT record: what this node signed WITHOUT per-transaction approval. Read-only; nothing in this category initiates, signs or alters a spend.

§

Profile

dig-profile BODIES: handing the node the bytes a confirmed on-chain root commits to, and reading one back. The chain root itself is never written here – dig-app signs and pushes that (§908); this category moves only the bytes an already-confirmed root commits to.

§

Collateral

Mirror-collateral: this epoch’s derived per-store requirement, the node’s LOCAL safety margin over it, and the per-(store, root) state of the bonds this node actually holds. The requirement is consensus-derived and read-only here; the margin is an operator preference this node owns and MUST NOT let into any census or signal.

Trait Implementations§

Source§

impl Clone for Category

Source§

fn clone(&self) -> Category

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 Category

Source§

impl Debug for Category

Source§

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

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

impl Eq for Category

Source§

impl Hash for Category

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Category

Source§

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

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