pub enum IoMode {
Live,
Replay,
}Expand description
Whether a run is allowed to perform live IO or must replay from recorded facts/artifacts.
Variants§
Live
Execute side effects through live transports and record replay inputs.
Replay
Disallow live side effects and resolve deterministic IO from recorded facts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IoMode
impl<'de> Deserialize<'de> for IoMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IoMode
impl StructuralPartialEq for IoMode
Auto Trait Implementations§
impl Freeze for IoMode
impl RefUnwindSafe for IoMode
impl Send for IoMode
impl Sync for IoMode
impl Unpin for IoMode
impl UnsafeUnpin for IoMode
impl UnwindSafe for IoMode
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