pub struct Assumed<W> { /* private fields */ }Expand description
--yes: shows the warning, asks nothing.
The warning is printed in this mode too, deliberately. A non-interactive run still has a reader — the CI log, the terminal it scrolled past — and silence would make the destructive step invisible in exactly the setting where nobody is watching it happen.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W> Freeze for Assumed<W>where
W: Freeze,
impl<W> RefUnwindSafe for Assumed<W>where
W: RefUnwindSafe,
impl<W> Send for Assumed<W>where
W: Send,
impl<W> Sync for Assumed<W>where
W: Sync,
impl<W> Unpin for Assumed<W>where
W: Unpin,
impl<W> UnsafeUnpin for Assumed<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for Assumed<W>where
W: 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