pub trait EventLog: Sealed {
// Required methods
fn record(&self, event: &NewEvent<'_>) -> Result<u64, RecordError>;
fn source(&self) -> &dyn EventSource;
}Available on crate feature
rustcrypto only.Expand description
The event store, as the runtime reaches it: RefCell<EventStore<…>>.
Required Methods§
Sourcefn source(&self) -> &dyn EventSource
fn source(&self) -> &dyn EventSource
The store as reads and reports see it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".