pub struct SidecarConfig {
pub plugins: BTreeMap<String, InstanceDecl>,
pub scopes: ScopesConfig,
}Expand description
The sidecars: section (§8.1): instance declarations (“what may
exist”) plus the two scopes (“who gets which instance”).
Fields§
§plugins: BTreeMap<String, InstanceDecl>Instance declarations; each key is the instance name and must
equal its manifest [plugin].name (§6.2 rule 2, checked where
the manifest is parsed).
scopes: ScopesConfigThe two scopes. Exactly server and worker; anything else is
an unknown key and refuses boot (§8.1).
Trait Implementations§
Source§impl Clone for SidecarConfig
impl Clone for SidecarConfig
Source§impl Debug for SidecarConfig
impl Debug for SidecarConfig
Source§impl Default for SidecarConfig
impl Default for SidecarConfig
Source§impl<'de> Deserialize<'de> for SidecarConfig
impl<'de> Deserialize<'de> for SidecarConfig
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 Eq for SidecarConfig
Source§impl PartialEq for SidecarConfig
impl PartialEq for SidecarConfig
Source§impl Serialize for SidecarConfig
impl Serialize for SidecarConfig
impl StructuralPartialEq for SidecarConfig
Auto Trait Implementations§
impl Forget for SidecarConfig
impl Freeze for SidecarConfig
impl Move for SidecarConfig
impl RefUnwindSafe for SidecarConfig
impl Send for SidecarConfig
impl Sync for SidecarConfig
impl Unpin for SidecarConfig
impl UnsafeUnpin for SidecarConfig
impl UnwindSafe for SidecarConfig
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