pub struct Cached<'cx, S, P>{ /* private fields */ }
Expand description
Cached provider
A provider that calls the underlying provider on the first call and returns the result of that on all calls
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'cx, S, P> !Freeze for Cached<'cx, S, P>
impl<'cx, S, P> RefUnwindSafe for Cached<'cx, S, P>
impl<'cx, S, P> Send for Cached<'cx, S, P>
impl<'cx, S, P> Sync for Cached<'cx, S, P>
impl<'cx, S, P> Unpin for Cached<'cx, S, P>
impl<'cx, S, P> UnwindSafe for Cached<'cx, S, P>
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