pub enum AuthenticationMethod {
None,
CHAP,
MutualCHAP,
}
Variants§
None
No iSCSI authentication is used.
CHAP
iSCSI Challenge Handshake Authentication Protocol (CHAP) authentication is used.
MutualCHAP
iSCSI Mutual Challenge Handshake Authentication Protocol (CHAP) authentication is used.
Trait Implementations§
source§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
source§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
Returns a copy 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 Default for AuthenticationMethod
impl Default for AuthenticationMethod
source§fn default() -> AuthenticationMethod
fn default() -> AuthenticationMethod
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthenticationMethod
impl<'de> Deserialize<'de> for AuthenticationMethod
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more