about summary refs log tree commit diff
path: root/src/facility/envsys.rs
blob: b2f632c693e328bdbaffabf4db5c87ac5f40933f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use crate::error::Result;
use crate::facility::{ CreatableFacility, Facility, FacilityType };

use std::any::Any;


pub struct EnvSys {
}

impl Facility for EnvSys {
  fn as_any_mut(&mut self) -> &mut dyn Any {
    self
  }
}

impl CreatableFacility for EnvSys {
  const FACILITY_TYPE: FacilityType = FacilityType::ENVSYS;

  fn new() -> Result<Self> {
    println!("loading envsys");

    Ok(EnvSys {
    })
  }

}