Struct vsmtp_protocol::AuthArgs
#[non_exhaustive]pub struct AuthArgs {
pub mechanism: Mechanism,
pub initial_response: Option<Vec<u8>>,
}Expand description
Information received from the client at the AUTH command.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mechanism: MechanismAuthentication mechanism.
initial_response: Option<Vec<u8>>First buffer of the challenge, optionally issued by the server.
base64 encoded buffer.
Trait Implementations§
§impl TryFrom<UnparsedArgs> for AuthArgs
impl TryFrom<UnparsedArgs> for AuthArgs
§type Error = ParseArgsError
type Error = ParseArgsError
The type returned in the event of a conversion error.
§fn try_from(value: UnparsedArgs) -> Result<Self, Self::Error>
fn try_from(value: UnparsedArgs) -> Result<Self, Self::Error>
Performs the conversion.