pub type WallSwitchResult<T> = Result<T, WallSwitchError>;Expand description
Result type to simplify function signatures.
This is a custom result type that uses our custom WallSwitchError for the error type.
Functions can return WallSwitchResult<T> and then use ? to automatically propagate errors.
Aliased Type§
pub enum WallSwitchResult<T> {
Ok(T),
Err(WallSwitchError),
}