aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/any_factory.rs
blob: e47018beee24b02240f844888e69669518ad97c1 (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::libs::intertrait::{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 {}