Crate scsys

Source
Expand description

§scsys

Welcome to scsys, home to various primitives and utilities used throughout the scsys.io ecosystem. The sdk is heavily feature gated, reducing its footprint and allowing for a more modular approach to development.

Modules§

error
hkt
Higher Kinded Types
id
Identity
prelude
state
State
str
string related utilities
sync
Synchronization
time
Time
traits
types

Macros§

builder
getter
gsw
generates methods for some type or type reference
hkt

Structs§

CaseTypeIter
An iterator over the variants of CaseType
State
State is an abstract object that allows a particular kind of state to be associated with some data.

Enums§

CaseType
Direction
Error

Traits§

Adjust
Appellation
An appellation is considered to be a name or title that is used to identify an object. For our purposes, an Appellation is a type that is used to identify an object in a computational space. The appellation outlines a notation that combines an idenfifier, classifier, and name into a single unique identifier for an object.
AsSlice
AsSliceMut
Classifiable
Interface for classifiable objects
Classifier
Denotes an object that may be used as a classifier
DType
DType provides additional information regarding the current type
DTypeExt
Decrement
Decrement is a trait describing the ability to decrement a value.
Increment
IntoInner
IntoInner is typically used for basic structures that wrap a single value.
IsType
Mapper
Name
Interface for nameable data-structures
StringExt
StringFmt
TypeTag
Typically, TypeTag is used for uninitaliziable enums with no variants
Wrapper

Functions§

collect_files_as
A generic function wrapper extending glob::glob
file_to_vec
This function converts the file found at path (fp) into a Vec
fnl_remove
Remove the first and last charecters of a string
project_root
Fetch the project root unless specified otherwise with a CARGO_MANIFEST_DIR env variable
to_camelcase
Converts a string to camelCase.
to_kebabcase
Converts a string to kebab-case.
to_pascalcase
Converts a string to PascalCase.
to_screaming_snakecase
Converts a string to SCREAMING_SNAKE_CASE.
to_snakecase
Converts a string to snake_case.
type_of
Compare two types

Type Aliases§

Arcm
Type alias wrapping a locked, thread-safe structure with a [Mutex] in an [Arc]
AsyncError
Type alias for async errors
AsyncResult
Type alias for async results
BoxError
Type alias for a boxed error with send, sync, and static flags enabled
BoxResult
Type alias for the standard result used
IOResult
Type alias for std::io::Result
Result

Derive Macros§

Display
Getter
Set
VariantConstructors
This macro automatically generates functional constructors for all enclosed variants.
With