pub struct SystemLayout {
pub base: PathBuf,
pub drop_ins: Vec<PathBuf>,
}Expand description
Where a platform keeps the system configuration of one ZeroDDS program.
The directories are those of docs/specs/zerodds-deployment-1.0.md:
/etc/zerodds on Linux and other Unix systems (§2.1),
/usr/local/etc/zerodds on macOS (§3.1), %PROGRAMDATA%\ZeroDDS on
Windows (§4.1). Linux adds the volatile /run/zerodds/<stem>.d after the
persistent drop-ins, for values a unit writes at boot.
Fields§
§base: PathBufThe base file, <dir>/<stem>.yaml.
drop_ins: Vec<PathBuf>Drop-in directories, read in this order after the base.
Implementations§
Trait Implementations§
Source§impl Clone for SystemLayout
impl Clone for SystemLayout
Source§impl Debug for SystemLayout
impl Debug for SystemLayout
impl Eq for SystemLayout
Source§impl PartialEq for SystemLayout
impl PartialEq for SystemLayout
impl StructuralPartialEq for SystemLayout
Auto Trait Implementations§
impl Freeze for SystemLayout
impl RefUnwindSafe for SystemLayout
impl Send for SystemLayout
impl Sync for SystemLayout
impl Unpin for SystemLayout
impl UnsafeUnpin for SystemLayout
impl UnwindSafe for SystemLayout
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