A library for writing host-specific, single-binary configuration management and deployment tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
325 B

  1. use crate::resources::Resource;
  2. use crate::to_artifact::ToArtifact;
  3. use std::error::Error;
  4. use std::fmt::Debug;
  5. pub trait AddableResource: 'static + Resource + Debug {}
  6. impl<R> AddableResource for R where R: 'static + Resource + Debug {}
  7. pub type AddResult<R> = Result<(<R as ToArtifact>::Artifact, bool), Box<dyn Error>>;