diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-11-18 14:15:25 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-11-18 14:15:25 -0700 |
| commit | 0bcfe7b468a83436a077824ca60e09c5fdd3f803 (patch) | |
| tree | 317dd485d46324d2eb09a2764c917fece485e754 /src/facility | |
| parent | ddc986ea05c5c17758e1028ce0d9f20dc133ec9d (diff) | |
plurality
Force-Push: yes Change-Id: I6e5400ab4ce64a54fe84e5facb1da56fd26c4667
Diffstat (limited to 'src/facility')
| -rw-r--r-- | src/facility/envsys.rs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/facility/envsys.rs b/src/facility/envsys.rs new file mode 100644 index 0000000..804f1d9 --- /dev/null +++ b/src/facility/envsys.rs @@ -0,0 +1,28 @@ +use crate::error::{ Error, Result }; +use crate::facility::{ Facility, FacilityType, TypeableFacility }; + +use std::any::Any; +use std::sync::Arc; +use std::sync::Mutex; + + +pub struct EnvSys { +} + +impl Facility for EnvSys { + fn new() -> Result<Self> + where Self: Sized + { + Ok(EnvSys { + }) + } + + fn as_any_mut(&mut self) -> &mut dyn Any { + self + } +} + +impl TypeableFacility for EnvSys { + const FACILITY_TYPE: FacilityType = FacilityType::ENVSYS; +} + |