pub struct TargetedRefresher {
config: Config,
workspace: PathBuf,
store: SqliteAppStore,
}Expand description
Executor bound to one canonical workspace and its SQLite store.
Fields§
§config: Config§workspace: PathBuf§store: SqliteAppStoreImplementations§
Source§impl TargetedRefresher
impl TargetedRefresher
pub async fn new(config: Config, workspace: &Path) -> Result<Self>
pub async fn refresh( &self, source: &EnrolledSource, items: Vec<SourceItem>, ) -> TargetedRefreshReport
async fn refresh_derived( &self, chunks: &[Chunk], sidecar_current_after_reset: bool, ) -> (DerivedRefreshStatus, DerivedRefreshStatus, Vec<RefreshReason>)
Auto Trait Implementations§
impl !RefUnwindSafe for TargetedRefresher
impl !UnwindSafe for TargetedRefresher
impl Freeze for TargetedRefresher
impl Send for TargetedRefresher
impl Sync for TargetedRefresher
impl Unpin for TargetedRefresher
impl UnsafeUnpin for TargetedRefresher
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more