#[non_exhaustive]pub enum StepSource {
File,
Runner,
Other(String),
}Expand description
Where the provider learned of a step.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
File
Read from a harness store or a runner’s durable log.
Runner
Known so far only from a runner’s bus event.
Other(String)
A value this version of the contract does not know, kept
exactly as received. Build values from strings with
from_wire, so a known string never lands here.
Implementations§
Source§impl StepSource
impl StepSource
Trait Implementations§
Source§impl Clone for StepSource
impl Clone for StepSource
Source§impl Debug for StepSource
impl Debug for StepSource
Source§impl<'de> Deserialize<'de> for StepSource
impl<'de> Deserialize<'de> for StepSource
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StepSource
Source§impl Hash for StepSource
impl Hash for StepSource
Source§impl PartialEq for StepSource
impl PartialEq for StepSource
Source§impl Serialize for StepSource
impl Serialize for StepSource
impl StructuralPartialEq for StepSource
Auto Trait Implementations§
impl Freeze for StepSource
impl RefUnwindSafe for StepSource
impl Send for StepSource
impl Sync for StepSource
impl Unpin for StepSource
impl UnsafeUnpin for StepSource
impl UnwindSafe for StepSource
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