Trait forc_pkg::manifest::GenericManifestFile  
source · pub trait GenericManifestFile {
    // Required methods
    fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>
       where Self: Sized;
    fn from_dir<P: AsRef<Path>>(dir: P) -> Result<Self>
       where Self: Sized;
    fn path(&self) -> &Path;
    fn lock_path(&self) -> Result<PathBuf>;
    fn member_manifests(&self) -> Result<MemberManifestFiles>;
    // Provided method
    fn dir(&self) -> &Path { ... }
}Required Methods§
fn from_file<P: AsRef<Path>>(path: P) -> Result<Self>where
    Self: Sized,
fn from_dir<P: AsRef<Path>>(dir: P) -> Result<Self>where
    Self: Sized,
sourcefn path(&self) -> &Path
 
fn path(&self) -> &Path
The path to the Forc.toml from which this manifest was loaded.
This will always be a canonical path.
sourcefn member_manifests(&self) -> Result<MemberManifestFiles>
 
fn member_manifests(&self) -> Result<MemberManifestFiles>
Returns a mapping of member member names to package manifest files.