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, panel: &str) -> MigrateError
pub fn missing_table(&self, panel: &str) -> MigrateError
A MigrateError::MissingTable for the workspace panel panel.
Auto Trait Implementations§
impl<'a> !UnwindSafe 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§
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