Skip to main content

agent_doc_element_icebox/
lib.rs

1//! Icebox element descriptor.
2
3use agent_doc_element::{
4    ElementAuthority, ElementCompositionRole, ElementDescriptor, ElementRealtimeModel,
5    ElementSchedulingRole, ElementShape, ElementSource, ElementWritePolicy,
6};
7
8pub const DESCRIPTOR: ElementDescriptor = ElementDescriptor {
9    name: "icebox",
10    aliases: &[],
11    source: ElementSource::BuiltIn,
12    shape: ElementShape::Component,
13    authority: ElementAuthority::GranularTrackedWork,
14    write_policy: ElementWritePolicy::GranularOnly,
15    scheduling_role: ElementSchedulingRole::ParkedWorkSource,
16    realtime_model: ElementRealtimeModel::TrackedItems,
17    composition_role: ElementCompositionRole::LocalOnly,
18    realtime: true,
19};
20
21pub fn descriptor() -> ElementDescriptor {
22    DESCRIPTOR
23}