1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Error and result types shared across the crate and its ports.
/// The error type used by every port in `keystate-core`.
///
/// Adapters and sinks wrap their own failures with [`Error::Other`] (for
/// typed errors) or [`Error::Message`] (for simple strings). Successful
/// composition never requires core to know a backend's error types.
/// Convenience alias used across `keystate-core` and implemented by adapters.
pub type Result<T> = Result;