Enum vsmtp_protocol::ParseArgsError
#[non_exhaustive]
pub enum ParseArgsError {
InvalidUtf8(FromUtf8Error),
BadTypeAddr(AddrParseError),
BufferTooLong {
expected: usize,
got: usize,
},
InvalidArgs,
}Expand description
Error while parsing the arguments of a command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidUtf8(FromUtf8Error)
Non-UTF8 buffer.
BadTypeAddr(AddrParseError)
Invalid IP address.
BufferTooLong
The buffer is too big (between each “\r\n”).
InvalidArgs
Other