pub enum ModuleControlRequestFromModule {
CatalogUpdate {
provides: Vec<ProviderRole>,
capabilities: Option<CapabilityDeclarations>,
ready: Option<bool>,
},
LiveRoots {},
}Expand description
Module-originated channel-0 control RPC body.
This is intentionally separate from ModuleControlRequest: that enum is the
daemon-to-module direction (route.bind, health.check), while these bodies
are sent by an already-registered module to subc on a REQUEST frame.
Variants§
CatalogUpdate
Fields
§
provides: Vec<ProviderRole>§
capabilities: Option<CapabilityDeclarations>An attested replacement for the static capability declaration emitted
by the module’s current manifest. None preserves the prior
declaration so existing role-only catalog updates remain byte-identical.
LiveRoots
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModuleControlRequestFromModule
impl<'de> Deserialize<'de> for ModuleControlRequestFromModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ModuleControlRequestFromModule
Auto Trait Implementations§
impl Freeze for ModuleControlRequestFromModule
impl RefUnwindSafe for ModuleControlRequestFromModule
impl Send for ModuleControlRequestFromModule
impl Sync for ModuleControlRequestFromModule
impl Unpin for ModuleControlRequestFromModule
impl UnsafeUnpin for ModuleControlRequestFromModule
impl UnwindSafe for ModuleControlRequestFromModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more