Crate scsys_core
source ·Modules
Structs
The asynchronous configuration builder.
A configuration builder
Enums
Represents all possible errors that can occur when working with
configuration.
Timestamp implements a host of useful utilities for stamping data
Constants
Localhost in compatible array
Localhost as &str
Traits
Trait for signaling a structure with a dedicated build stage
Quickly derive elligible naming schematics for the desired structure
Interface for time-related data-structures
Functions
Gather configuration files following the specified pattern and collect them into a vector
A generic function wrapper extending glob::glob
This function converts the file found at path (fp) into a Vec
Simple function wrapper evaluating the claim that the given information is of type f64
Fetch the project root unless specified otherwise with a CARGO_MANIFEST_DIR env variable
Attempts to collect configuration files, following the given pattern, into a ConfigFileVec
Type Definitions
Type alias for async errors
Type alias for async results
Type alias for a boxed standard error
Type alias for a boxed error with send, sync, and static flags enabled
Type alias for the standard result used
Type alias for bson::DateTime
Type alias for bson::oid::ObjectId
Type alias for chrono::DateTime
Type alias for config::Environment
Type alias for config::File
Type alias for a collection of crate::ConfigFile
Type alias for a configuration result
Type alias for config::ConfigBuilder
Type alias for config::builder::DefaultState
Type alias for the default timestamp
Type alias for the default timezone, chrono::Utc
Type alias for std::collections::HashMap defaulting to a (String, String) type
Type alias for std::io::Result
Type alias for a stateful hash map