sim-lib-journal 0.1.0

Domain-free atomic content journal contract for SIM.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// A writer generation. Only the backend can mint a live fence.
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Lease {
    pub(crate) fence: u64,
}

impl Lease {
    pub fn fence(&self) -> u64 {
        self.fence
    }
}