pub struct FixtureTransport { /* private fields */ }Expand description
A fixture transport, shipped in the crate because the gate and the recording harness and any rehearsing host need the same shape, and a test only copy would fork it. It answers canned consultations in the order supplied and records every vignette it was shown, and it performs no network access and spawns no process. A consultation asked past the supplied replies is a call failure, the class a script that has run out has honestly earned.
Implementations§
Trait Implementations§
Source§impl ModelTransport for FixtureTransport
impl ModelTransport for FixtureTransport
fn consult(&self, vignette: &str) -> Consultation
fn pinned_model_name(&self) -> &str
Auto Trait Implementations§
impl !Freeze for FixtureTransport
impl !RefUnwindSafe for FixtureTransport
impl !Sync for FixtureTransport
impl Forget for FixtureTransport
impl Move for FixtureTransport
impl Send for FixtureTransport
impl Unpin for FixtureTransport
impl UnsafeUnpin for FixtureTransport
impl UnwindSafe for FixtureTransport
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