Enum windivert::CloseAction
source · pub enum CloseAction {
Uninstall,
Nothing,
}
Expand description
Action parameter for WinDivert::close()
Variants§
Uninstall
Close the handle and try to uninstall the WinDivert driver.
Nothing
Close the handle without uninstalling the driver.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CloseAction
impl Send for CloseAction
impl Sync for CloseAction
impl Unpin for CloseAction
impl UnwindSafe for CloseAction
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