Struct pedis_core::Teststore
source · pub struct Teststore {
pub err: bool,
}Expand description
Mock store for testing purposes
Fields§
§err: boolAllow the consumer to raise an error while running the tests
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Teststore
impl RefUnwindSafe for Teststore
impl Send for Teststore
impl Sync for Teststore
impl Unpin for Teststore
impl UnwindSafe for Teststore
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