Struct Mode
pub struct Mode {
pub journal: bool,
pub outputs: bool,
pub events: bool,
}Fields§
§journal: boolAppend the record to the run’s in-memory journal.
outputs: boolQueue outputs.
events: boolEmit events.
Implementations§
§impl Mode
impl Mode
pub const LIVE: Self
pub const RECOVER: Self
pub const RECOVER: Self
Replaying the log tail at recovery: outputs are regenerated (they are idempotent at their receivers); the host restarts code itself.
pub const BLOB: Self
pub const BLOB: Self
Rebuilding a run from a stored blob.
pub const SUFFIX: Self
pub const SUFFIX: Self
Rebuilding a run from journal bytes kept in a checkpoint.
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Forget for Mode
impl Freeze for Mode
impl Move for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more