pub struct Container { /* private fields */ }
Implementations
sourceimpl Container
impl Container
pub fn new(top: Arc<dyn Middleware>) -> Self
pub fn with_singleton<S, Args, F>(&self, creation_fn: F) -> Self where
S: Service + ?Sized,
Arc<dyn Middleware>: ResolveStart<Args>,
Args: Send,
F: Fn(Args) -> Result<Box<S>> + Send + Sync + Copy + 'static,
pub fn with_singleton_ok<S, Args, F>(&self, creation_fn: F) -> Self where
S: Service + ?Sized,
Arc<dyn Middleware>: ResolveStart<Args>,
F: Fn(Args) -> Box<S> + Send + Sync + Copy + 'static,
pub fn with_singleton_async<S, Args, Fut, F>(&self, creation_fn: F) -> Self where
S: Service + ?Sized,
Arc<dyn Middleware>: ResolveStart<Args>,
Args: Send,
Fut: Future<Output = Result<Box<S>>> + Send,
F: Fn(Args) -> Fut + Send + Sync + Copy + 'static,
pub fn with_singleton_async_ok<S, Args, Fut, F>(&self, creation_fn: F) -> Self where
S: Service + ?Sized,
Arc<dyn Middleware>: ResolveStart<Args>,
Args: Send,
Fut: Future<Output = Box<S>> + Send,
F: Fn(Args) -> Fut + Send + Sync + Copy + 'static,
pub async fn resolve<X>(&self) -> Result<X> where
Arc<dyn Middleware>: ResolveStart<X>,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl !UnwindSafe for Container
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<X> ResolveStart<()> for X where
X: Sync,
impl<X> ResolveStart<()> for X where
X: Sync,
sourceimpl<X> ResolveStart<()> for X where
X: Sync,
impl<X> ResolveStart<()> for X where
X: Sync,
fn resolve_start(&self) -> Result<(), Error>
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
_Va11: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps> + ResolveStart<<_Va11 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
_Va11: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps> + ResolveStart<<_Va11 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
_Va11: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps> + ResolveStart<<_Va11 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, _Va11)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
_Va11: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps> + ResolveStart<<_Va11 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, _Va10)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
_Va10: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps> + ResolveStart<<_Va10 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, _Va9)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
_Va9: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps> + ResolveStart<<_Va9 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, _Va8)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
_Va8: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps> + ResolveStart<<_Va8 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, _Va7)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
_Va7: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps> + ResolveStart<<_Va7 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, _Va6)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
_Va6: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps> + ResolveStart<<_Va6 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, _Va5, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4, _Va5)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
_Va5: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps> + ResolveStart<<_Va5 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, _Va4, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, _Va4, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3, _Va4)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
_Va4: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps> + ResolveStart<<_Va4 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, _Va3, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, _Va3, X> ResolveStart<(_Va0, _Va1, _Va2, _Va3)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
_Va3: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps> + ResolveStart<<_Va3 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, X> ResolveStart<(_Va0, _Va1, _Va2)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, X> ResolveStart<(_Va0, _Va1, _Va2)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, _Va2, X> ResolveStart<(_Va0, _Va1, _Va2)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps>,
impl<_Va0, _Va1, _Va2, X> ResolveStart<(_Va0, _Va1, _Va2)> for X where
_Va0: Resolve,
_Va1: Resolve,
_Va2: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps> + ResolveStart<<_Va2 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, X> ResolveStart<(_Va0, _Va1)> for X where
_Va0: Resolve,
_Va1: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps>,
impl<_Va0, _Va1, X> ResolveStart<(_Va0, _Va1)> for X where
_Va0: Resolve,
_Va1: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps>,
sourceimpl<_Va0, _Va1, X> ResolveStart<(_Va0, _Va1)> for X where
_Va0: Resolve,
_Va1: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps>,
impl<_Va0, _Va1, X> ResolveStart<(_Va0, _Va1)> for X where
_Va0: Resolve,
_Va1: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps> + ResolveStart<<_Va1 as Resolve>::Deps>,
sourceimpl<_Va0, X> ResolveStart<(_Va0,)> for X where
_Va0: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps>,
impl<_Va0, X> ResolveStart<(_Va0,)> for X where
_Va0: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps>,
sourceimpl<_Va0, X> ResolveStart<(_Va0,)> for X where
_Va0: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps>,
impl<_Va0, X> ResolveStart<(_Va0,)> for X where
_Va0: Resolve,
X: ResolveStart<<_Va0 as Resolve>::Deps>,
sourceimpl<R, X> ResolveStart<R> for X where
R: Resolve,
X: ResolveStart<<R as Resolve>::Deps>,
impl<R, X> ResolveStart<R> for X where
R: Resolve,
X: ResolveStart<<R as Resolve>::Deps>,
sourceimpl<R, X> ResolveStart<R> for X where
R: Resolve,
X: ResolveStart<<R as Resolve>::Deps>,
impl<R, X> ResolveStart<R> for X where
R: Resolve,
X: ResolveStart<<R as Resolve>::Deps>,
fn resolve_start(&self) -> Result<R, Error>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more