pub struct LoaderHandle { /* private fields */ }Expand description
Weak service handle injected as loader, avoiding a reference cycle
between the root context and the loader.
Recover the loader with LoaderHandle::upgrade.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LoaderHandle
impl !UnwindSafe for LoaderHandle
impl Freeze for LoaderHandle
impl Send for LoaderHandle
impl Sync for LoaderHandle
impl Unpin for LoaderHandle
impl UnsafeUnpin for LoaderHandle
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