pub struct StepCtx<'a> { /* private fields */ }
Expand description
Context object for an individual step.
Implementations§
Source§impl StepCtx<'_>
impl StepCtx<'_>
Sourcepub fn backend(&self) -> FlowBackend
pub fn backend(&self) -> FlowBackend
What backend the flow is being running on (e.g: locally, ADO, GitHub, etc…)
Sourcepub fn platform(&self) -> FlowPlatform
pub fn platform(&self) -> FlowPlatform
What platform the flow is being running on (e.g: windows, linux, wsl2, etc…).
Auto Trait Implementations§
impl<'a> Freeze for StepCtx<'a>
impl<'a> !RefUnwindSafe for StepCtx<'a>
impl<'a> !Send for StepCtx<'a>
impl<'a> !Sync for StepCtx<'a>
impl<'a> Unpin for StepCtx<'a>
impl<'a> !UnwindSafe for StepCtx<'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