pub struct RedisContainer;Expand description
Redis test container helper
Implementations§
Source§impl RedisContainer
impl RedisContainer
Sourcepub fn config() -> ContainerConfig
pub fn config() -> ContainerConfig
Create Redis test container
§Examples
use armature_testing::docker::RedisContainer;
let config = RedisContainer::config();Auto Trait Implementations§
impl Freeze for RedisContainer
impl RefUnwindSafe for RedisContainer
impl Send for RedisContainer
impl Sync for RedisContainer
impl Unpin for RedisContainer
impl UnsafeUnpin for RedisContainer
impl UnwindSafe for RedisContainer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<R, D> DepsPresent<D> for R
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging