#[non_exhaustive]pub struct Info {
pub id: Origin,
pub pool: Pool,
}Expand description
An origin’s identity plus the cache pool its broadcasts inherit.
Doubles as the construction config for an origin Producer and as the
parent handle every broadcast carries (broadcast::Info::origin): the origin owns
the cache::Pool every group in the tree registers with, so a relay configures one
bounded pool here and every broadcast, track, and group beneath it reaches that single
budget by walking up the ownership chain. Defaults to an unbounded pool
(Origin::produce is the shorthand for that). Cheap to clone (a Copy id plus an
Arc-handle bump), so it’s stored by value rather than behind another Arc.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: OriginThe origin’s wire identity, appended to broadcast hop chains for loop detection and shortest-path routing.
pool: PoolThe cache pool broadcasts under this origin register their groups with. It
flows down the ownership chain (origin -> broadcast -> track -> group), so a
group reaches it via track.broadcast.origin.pool. Unbounded by default; a
relay sets a bounded one (via Self::with_pool) so cached groups across the
whole process share one memory budget.