pub struct StageInfo<'a> {
pub index: usize,
pub total: usize,
pub name: &'a str,
pub upstream: &'a str,
pub downstream: &'a str,
}Expand description
Where a stage sits in its pipeline, and what it is called.
upstream and downstream are the stage’s actual neighbours on this path:
the adjacent stages’ display names, or an endpoint name at either end. A
tee wedged between two other stages therefore describes the hop it is
really watching rather than the endpoints it is nowhere near.
Fields§
§index: usizePosition on this path, after direction filtering and mirroring.
total: usize§name: &'a strThe as = "..." alias if one was given, otherwise the plugin name,
suffixed with #n when the same name appears more than once.
upstream: &'a str§downstream: &'a strImplementations§
Trait Implementations§
impl<'a> Copy for StageInfo<'a>
impl<'a> Eq for StageInfo<'a>
impl<'a> StructuralPartialEq for StageInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for StageInfo<'a>
impl<'a> RefUnwindSafe for StageInfo<'a>
impl<'a> Send for StageInfo<'a>
impl<'a> Sync for StageInfo<'a>
impl<'a> Unpin for StageInfo<'a>
impl<'a> UnsafeUnpin for StageInfo<'a>
impl<'a> UnwindSafe for StageInfo<'a>
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