pub(crate) struct Config {
pub(crate) engine: EngineSection,
pub(crate) uci: UciSection,
pub(crate) loopback: LoopbackSection,
pub(crate) owp: OwpSection,
pub(crate) stomp: StompSection,
pub(crate) dds: DdsSection,
}Expand description
Root document of a host config file.
Every section is optional in the file. An adapter table that is
present is on; one that is omitted is off. enabled = false keeps
the keys without spawning.
Fields§
§engine: EngineSectionHow often the host logs engine counters. Omitting the section uses a 30-second interval.
uci: UciSectionSchema files and validation mode compiled before any adapter listens.
loopback: LoopbackSectionIn-process adapter. On when the [loopback] table is present.
owp: OwpSectionOWP/WebSocket server. On when the [owp] table is present.
stomp: StompSectionSTOMP client. On when the [stomp] table is present.
dds: DdsSectionDDS participant. On when the [dds] table is present.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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