pub enum RebuildOutcome {
Success,
Failed(i32),
}Expand description
Результат одной фоновой сборки.
Чистый тип: main-loop получает его через poll_rebuild и передаёт в
RebuildStateMachine для принятия решения «swap / keep-old».
Variants§
Success
Сборка успешна — можно выполнять swap.
Failed(i32)
Сборка завершилась с ошибкой (exit code сохранён) — old продолжает.
Trait Implementations§
Source§impl Clone for RebuildOutcome
impl Clone for RebuildOutcome
impl Copy for RebuildOutcome
Source§impl Debug for RebuildOutcome
impl Debug for RebuildOutcome
impl Eq for RebuildOutcome
Source§impl PartialEq for RebuildOutcome
impl PartialEq for RebuildOutcome
impl StructuralPartialEq for RebuildOutcome
Auto Trait Implementations§
impl Forget for RebuildOutcome
impl Freeze for RebuildOutcome
impl RefUnwindSafe for RebuildOutcome
impl Send for RebuildOutcome
impl Sync for RebuildOutcome
impl Unpin for RebuildOutcome
impl UnsafeUnpin for RebuildOutcome
impl UnwindSafe for RebuildOutcome
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.