pub struct TestOverrides { /* private fields */ }Expand description
Typed provider replacements applied only while compiling a test app.
Global replacements substitute every registered provider with the same
output type. Scoped replacements use a full plugin path such as
app/users; they can also shadow an inherited provider inside that scope.
Implementations§
Source§impl TestOverrides
impl TestOverrides
Trait Implementations§
Source§impl Default for TestOverrides
impl Default for TestOverrides
Source§fn default() -> TestOverrides
fn default() -> TestOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TestOverrides
impl !Send for TestOverrides
impl !Sync for TestOverrides
impl !UnwindSafe for TestOverrides
impl Freeze for TestOverrides
impl Unpin for TestOverrides
impl UnsafeUnpin for TestOverrides
Blanket Implementations§
Source§impl<T> BackgroundExt for T
impl<T> BackgroundExt for T
fn background(self, task: BackgroundTask) -> Background<Self>
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