about summary refs log tree commit diff
path: root/src/facilities/envsys.rs
blob: 7b5fccc2740b2186a809737904947a1f06891187 (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
28
use crate::error::{ Error, Result };
use crate::facilities::{ 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;
}