pub struct PublishOptions {
pub clock: Arc<dyn Clock + Send + Sync>,
pub backfill: Option<PathBuf>,
}Expand description
How a run reads the clock and whether it backfills (CONTRACT-1.8b H1).
Fields§
§clock: Arc<dyn Clock + Send + Sync>The mesh clock: the start of a binding left out is its now, and a start earlier than it is refused (rule A).
backfill: Option<PathBuf>The operator log of a --backfill run (DATUMESH_BACKFILL_LOG). Some lifts the start
check, for a file whose names and namespaces have no bindings yet, and appends a line to
the log for each run that writes.
Implementations§
Source§impl PublishOptions
impl PublishOptions
Sourcepub fn system() -> PublishOptions
pub fn system() -> PublishOptions
The system clock, and no backfill.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PublishOptions
impl !UnwindSafe for PublishOptions
impl Forget for PublishOptions
impl Freeze for PublishOptions
impl Move for PublishOptions
impl Send for PublishOptions
impl Sync for PublishOptions
impl Unpin for PublishOptions
impl UnsafeUnpin for PublishOptionswhere
*const ArcInner<dyn Clock + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Clock + Sync + Send>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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