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
gsw
macro 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
State
is a generic type wrapper materializing theRawState
trait.- StdError
- The
StdError
type 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
Type Aliases§
- Arcm
- Type alias wrapping a locked, thread-safe structure with a [Mutex] in an [Arc]
- BoxErr
- A type alias for a
Err
whose generic type is aBox
of 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
Result
type pre-configured with the [Error
] type