pub struct SingleplexResource<R: Send> { /* private fields */ }Expand description
A weak registration handle for health changes and retirement requests. Holding it does not keep the pool alive or give access to a leased resource.
Implementations§
Source§impl<R: Send> SingleplexResource<R>
impl<R: Send> SingleplexResource<R>
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for SingleplexResource<R>
impl<R> RefUnwindSafe for SingleplexResource<R>where
Weak<Core<SingleSlot<R>>>: RefUnwindSafe,
impl<R> Send for SingleplexResource<R>
impl<R> Sync for SingleplexResource<R>
impl<R> Unpin for SingleplexResource<R>
impl<R> UnsafeUnpin for SingleplexResource<R>where
Weak<Core<SingleSlot<R>>>: UnsafeUnpin,
impl<R> UnwindSafe for SingleplexResource<R>where
Weak<Core<SingleSlot<R>>>: 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