pub struct NoopEnv;Expand description
NoopEnv is a no-op implementation that always returns None/empty.
This is used when no environment is configured.
Trait Implementations§
Source§impl Env for NoopEnv
impl Env for NoopEnv
impl Copy for NoopEnv
Auto Trait Implementations§
impl Freeze for NoopEnv
impl RefUnwindSafe for NoopEnv
impl Send for NoopEnv
impl Sync for NoopEnv
impl Unpin for NoopEnv
impl UnwindSafe for NoopEnv
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