aboutsummaryrefslogtreecommitdiff
path: root/src/private/any_factory.rs
blob: 64af57ee5e219b2f8c4729d2aa1bbc88bf12e0c4 (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, 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 {}