pub struct ChangeProcessor {
pub git: GitStore,
pub manifest: Arc<Mutex<Manifest>>,
pub agent_state: AgentState,
pub ui_tx: Option<Sender<UiEvent>>,
/* private fields */
}Fields§
§git: GitStore§manifest: Arc<Mutex<Manifest>>§agent_state: AgentState§ui_tx: Option<Sender<UiEvent>>Implementations§
Source§impl ChangeProcessor
impl ChangeProcessor
pub fn new( git: GitStore, manifest: Arc<Mutex<Manifest>>, _config: MergedConfig, agent_state: AgentState, ui_tx: Option<Sender<UiEvent>>, ) -> Self
pub fn run_poll_cycle(&mut self) -> Result<()>
Auto Trait Implementations§
impl !Sync for ChangeProcessor
impl Freeze for ChangeProcessor
impl RefUnwindSafe for ChangeProcessor
impl Send for ChangeProcessor
impl Unpin for ChangeProcessor
impl UnsafeUnpin for ChangeProcessor
impl UnwindSafe for ChangeProcessor
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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