pub enum InheritConfiguration {
All,
None,
Some(Vec<String>),
}Expand description
Specifies which host capabilities a component dependency is allowed to inherit from its parent component.
When a dependency is composed into a parent component, it may need access to host-provided interfaces such as networking, key-value stores, or environment variables. This enum controls which of those capability sets are “allowed through” (i.e. not denied by the deny adapter).
Variants§
All
Inherit all capabilities from the parent component.
None
Inherit no capabilities; the deny adapter blocks every host interface.
Some(Vec<String>)
Inherit only the named capability sets (e.g. "allowed_outbound_hosts",
"key_value_stores"). Unrecognized names are silently ignored.
Auto Trait Implementations§
impl Freeze for InheritConfiguration
impl RefUnwindSafe for InheritConfiguration
impl Send for InheritConfiguration
impl Sync for InheritConfiguration
impl Unpin for InheritConfiguration
impl UnsafeUnpin for InheritConfiguration
impl UnwindSafe for InheritConfiguration
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