pub struct EnvFresh;Expand description
Convenience marker for callers who want to write
leash.env().get(key, EnvFresh) style code — see Env::get_fresh for
the actual cache-bypass entry point. Kept as a unit struct for parity with
the brief and to give docs a single anchor.
Trait Implementations§
impl Copy for EnvFresh
Auto Trait Implementations§
impl Freeze for EnvFresh
impl RefUnwindSafe for EnvFresh
impl Send for EnvFresh
impl Sync for EnvFresh
impl Unpin for EnvFresh
impl UnsafeUnpin for EnvFresh
impl UnwindSafe for EnvFresh
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