pub(crate) enum Way {
Command(&'static str),
Direct,
}Expand description
Which way into the program a row is measuring.
The two are what issue #150 was about, and measuring them against each
other is why both are here. A row that builds its argument builds it inside
the loop, because the boundary row pays for the same conversion inside
reviews.pull and a comparison that charged one and not the other would be
measuring the bookkeeping.
Variants§
Command(&'static str)
run_entry, with one process argument — the only way in there used to
be.
Direct
invoke, with the pull request the host built.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Way
impl RefUnwindSafe for Way
impl Send for Way
impl Sync for Way
impl Unpin for Way
impl UnsafeUnpin for Way
impl UnwindSafe for Way
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