crucible-wire 0.10.1

What a crucible server and client share about the wire: operation descriptions, the error model, validation, timestamps and the JSON readers and writers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// How a requirement is enforced.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[non_exhaustive]
pub enum Mode {
    /// `requires p on R(..)`: checked before the operation runs.
    Check,
    /// `filters p on R`: a listing answered with only the instances the
    /// caller holds `p` on.
    Filter,
    /// `requires p on R by handler`: an obligation the handler discharges,
    /// because only it knows the resource or whether the clause applies.
    Handler,
}