pub struct ReconcilerPorts {
pub demand: Arc<dyn DemandSource>,
pub launcher: Arc<dyn RunnerLauncher>,
pub lock: Arc<dyn AllocationLock>,
pub directory: Arc<dyn RepositoryDirectory>,
pub clock: Arc<dyn Clock>,
pub jitter: Arc<dyn Jitter>,
pub events: Arc<dyn EventSink>,
}Expand description
Everything one reconciler needs, written down at the call site.
A struct rather than seven positional arguments, for the reason b1 gives at
PersistedAttempt: several of these are Arc<dyn …> and transposing two of
them type-checks. Construct it with a struct literal so every port is named.
Fields§
§demand: Arc<dyn DemandSource>§launcher: Arc<dyn RunnerLauncher>§lock: Arc<dyn AllocationLock>§directory: Arc<dyn RepositoryDirectory>§clock: Arc<dyn Clock>§jitter: Arc<dyn Jitter>§events: Arc<dyn EventSink>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReconcilerPorts
impl !UnwindSafe for ReconcilerPorts
impl Freeze for ReconcilerPorts
impl Send for ReconcilerPorts
impl Sync for ReconcilerPorts
impl Unpin for ReconcilerPorts
impl UnsafeUnpin for ReconcilerPorts
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