pub struct FactoryProduct<V> { /* private fields */ }Expand description
The value (and metadata) a factory produced, ready to be cached.
Construct it through the FactoryContext methods rather than directly, so
the (possibly adapted) options and tags are carried along correctly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for FactoryProduct<V>where
V: Freeze,
impl<V> RefUnwindSafe for FactoryProduct<V>where
V: RefUnwindSafe,
impl<V> Send for FactoryProduct<V>where
V: Send,
impl<V> Sync for FactoryProduct<V>where
V: Sync,
impl<V> Unpin for FactoryProduct<V>where
V: Unpin,
impl<V> UnsafeUnpin for FactoryProduct<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for FactoryProduct<V>where
V: UnwindSafe,
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