pub struct NullSubstrate {
pub recorded: Mutex<Vec<SubstrateCommand>>,
}Expand description
Dry-run substrate — records calls but never spawns processes.
Fields§
§recorded: Mutex<Vec<SubstrateCommand>>Trait Implementations§
Source§impl Default for NullSubstrate
impl Default for NullSubstrate
Source§fn default() -> NullSubstrate
fn default() -> NullSubstrate
Returns the “default value” for a type. Read more
Source§impl Substrate for NullSubstrate
impl Substrate for NullSubstrate
fn execute( &self, cmd: SubstrateCommand, ) -> Result<SubstrateResult, SubstrateError>
fn is_available(&self) -> bool
Auto Trait Implementations§
impl !Freeze for NullSubstrate
impl RefUnwindSafe for NullSubstrate
impl Send for NullSubstrate
impl Sync for NullSubstrate
impl Unpin for NullSubstrate
impl UnsafeUnpin for NullSubstrate
impl UnwindSafe for NullSubstrate
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