#[repr(u8)]pub enum AuthenticationMethod {
NotSet = 0,
None = 1,
Kerberos5 = 2,
Line = 3,
Enable = 4,
Local = 5,
TacacsPlus = 6,
Guest = 8,
Radius = 16,
Kerberos4 = 17,
RCommand = 32,
}Expand description
The method used to authenticate to the TACACS+ client.
Variants§
NotSet = 0
Unknown.
None = 1
No authentication performed.
Kerberos5 = 2
Kerberos version 5
Line = 3
Fixed password associated with access line
Enable = 4
Granting new privileges (similar to su(1))
Local = 5
Client-local user database
TacacsPlus = 6
The TACACS+ protocol itself.
Guest = 8
(Unqualified) guest authentication
Radius = 16
RADIUS (RFC 3579)
Kerberos4 = 17
Kerberos version 4
RCommand = 32
r-command, like rlogin(1)
Trait Implementations§
Source§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
Source§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
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 AuthenticationMethod
impl Debug for AuthenticationMethod
Source§impl Display for AuthenticationMethod
impl Display for AuthenticationMethod
Source§impl Hash for AuthenticationMethod
impl Hash for AuthenticationMethod
Source§impl PartialEq for AuthenticationMethod
impl PartialEq for AuthenticationMethod
impl Copy for AuthenticationMethod
impl Eq for AuthenticationMethod
impl StructuralPartialEq for AuthenticationMethod
Auto Trait Implementations§
impl Freeze for AuthenticationMethod
impl RefUnwindSafe for AuthenticationMethod
impl Send for AuthenticationMethod
impl Sync for AuthenticationMethod
impl Unpin for AuthenticationMethod
impl UnwindSafe for AuthenticationMethod
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