ToplevelAccount

Type Alias ToplevelAccount 

Source
pub type ToplevelAccount = Arc<MemoryQuotaTracker>;
Expand description

Account for the whole system

There will typically be only one of these for an entire Arti client or relay.

This is not really an Account. We don’t want anyone to make a Participant from this, because if that Participant were reclaimed, everything would be torn down.

We provide the type alias for consistency/readability at call sites.

See the memquota module documentation.

Aliased Type§

pub struct ToplevelAccount { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes