pub fn write<R: Record + Serialize>( effect: RecordEffect, record: &R, ) -> Option<Stamp>
Records record under its namespace in the active environment, stamped now: written if the session is kept, which an Observed record alone does not decide. None when recording is off or there is no database to write to.
record
Observed
None