pub enum GitJob {
Context(Completion<ContextKey, Option<GitContext>>),
Hunks(Completion<HunkKey, HunkData>),
Mutation(Completion<MutationKey, ()>),
Log(Completion<LogKey, Vec<LogRow>>),
Gutter(Completion<BlameKey, Vec<BlameLine>>),
Card(Completion<CardKey, Box<BlameCard>>),
Dive(Completion<DiveKey, DiveData>),
}Expand description
Results from git workers; the event loop (or headless drain) routes each to its handler. Every variant owns its ticket — there is no unowned error path (R9).
Variants§
Context(Completion<ContextKey, Option<GitContext>>)
Hunks(Completion<HunkKey, HunkData>)
Mutation(Completion<MutationKey, ()>)
Log(Completion<LogKey, Vec<LogRow>>)
Gutter(Completion<BlameKey, Vec<BlameLine>>)
Card(Completion<CardKey, Box<BlameCard>>)
Dive(Completion<DiveKey, DiveData>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitJob
impl<'de> Deserialize<'de> for GitJob
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GitJob
impl RefUnwindSafe for GitJob
impl Send for GitJob
impl Sync for GitJob
impl Unpin for GitJob
impl UnsafeUnpin for GitJob
impl UnwindSafe for GitJob
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