aboutsummaryrefslogtreecommitdiff
path: root/src/private/any_factory.rs
blob: bdd68a6fab9c941c711b188b9b6c4ab2598984fe (plain)
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, CastFromSync};

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

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