pub struct StepCx<'a> { /* private fields */ }Expand description
The context a Step runs in.
Implementations§
Source§impl StepCx<'_>
impl StepCx<'_>
Sourcepub fn dropped(&mut self, path: &[&str], value: Value)
pub fn dropped(&mut self, path: &[&str], value: Value)
Record that value, found at path below this object, was removed.
Sourcepub fn approximated(&mut self, path: &[&str], reason: &'static str)
pub fn approximated(&mut self, path: &[&str], reason: &'static str)
Record that the value at path below this object was approximated.
Sourcepub fn malformed(&self, path: &[&str], expected: &'static str) -> MigrateError
pub fn malformed(&self, path: &[&str], expected: &'static str) -> MigrateError
A MigrateError::Malformed for the value at path below this object.
Sourcepub fn conflict(&self, keys: &[&str]) -> MigrateError
pub fn conflict(&self, keys: &[&str]) -> MigrateError
A MigrateError::Conflict between keys of this object.
Sourcepub fn missing_table(&self) -> MigrateError
pub fn missing_table(&self) -> MigrateError
A MigrateError::MissingTable for the workspace panel panel.
Auto Trait Implementations§
impl<'a> !UnwindSafe for StepCx<'a>
impl<'a> Forget for StepCx<'a>
impl<'a> Freeze for StepCx<'a>
impl<'a> RefUnwindSafe for StepCx<'a>
impl<'a> Send for StepCx<'a>
impl<'a> Sync for StepCx<'a>
impl<'a> Unpin for StepCx<'a>
impl<'a> UnsafeUnpin for StepCx<'a>
Blanket Implementations§
impl<T> Allocation for T
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more