pub enum AuthRetryMode {
None,
Interact,
NoInteract,
}Expand description
Controls how OpenVPN retries after authentication failure.
Variants§
None
Don’t retry — exit on auth failure.
Interact
Retry, re-prompting for credentials.
NoInteract
Retry without re-prompting.
Trait Implementations§
Source§impl Clone for AuthRetryMode
impl Clone for AuthRetryMode
Source§fn clone(&self) -> AuthRetryMode
fn clone(&self) -> AuthRetryMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthRetryMode
impl Debug for AuthRetryMode
Source§impl Display for AuthRetryMode
impl Display for AuthRetryMode
Source§impl FromStr for AuthRetryMode
impl FromStr for AuthRetryMode
Source§impl PartialEq for AuthRetryMode
impl PartialEq for AuthRetryMode
impl Copy for AuthRetryMode
impl Eq for AuthRetryMode
impl StructuralPartialEq for AuthRetryMode
Auto Trait Implementations§
impl Freeze for AuthRetryMode
impl RefUnwindSafe for AuthRetryMode
impl Send for AuthRetryMode
impl Sync for AuthRetryMode
impl Unpin for AuthRetryMode
impl UnsafeUnpin for AuthRetryMode
impl UnwindSafe for AuthRetryMode
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