syrette 0.5.1

The convenient dependency injection framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Interface for any factory to ever exist.

use std::fmt::Debug;

use crate::private::cast::{CastFrom, CastFromArc};

/// Interface for any factory to ever exist.
pub trait AnyFactory: CastFrom + Debug {}

/// Interface for any threadsafe factory to ever exist.
pub trait AnyThreadsafeFactory: CastFromArc + Debug {}