Expand description
This crate works to provide a set of utilities for working with state, time, and synchronization in Rust.
Modules§
Macros§
- builder
- fmt_
wrapper - gsw
- The
gswmacro generates getter and setter methods for the fields of a struct. - wrapper
Structs§
- Direction
Iter - An iterator over the variants of Direction
- Error
Base - NState
- [State] is an abstract object that allows a particular kind of state to be associated with some data.
- State
Stateis a generic type wrapper materializing theRawStatetrait.- StdError
- The
StdErrortype is a generic error type that is generic over the error kind; this enables us to distinguish between distinctly different error types.
Enums§
Traits§
- Error
Kind - this trait is used to denote various error kinds for use throughout the sdk
- RawState
- RawState
- Stateful
- a trait for denoting stateful entities
Functions§
- 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
Type Aliases§
- Arcm
- Type alias wrapping a locked, thread-safe structure with a [Mutex] in an [Arc]
- BoxErr
- A type alias for a
Errwhose generic type is aBoxof a trait object implementingcore::error::Error. - 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
- a type alias for a
Resulttype pre-configured with the [Error] type