Struct vsmtp_protocol::UnparsedArgs
#[non_exhaustive]pub struct UnparsedArgs(pub Vec<u8>);Expand description
Buffer received from the client.
Tuple 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.0: Vec<u8>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.
§impl TryFrom<UnparsedArgs> for EhloArgs
impl TryFrom<UnparsedArgs> for EhloArgs
§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.
§impl TryFrom<UnparsedArgs> for HeloArgs
impl TryFrom<UnparsedArgs> for HeloArgs
§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.
§impl TryFrom<UnparsedArgs> for MailFromArgs
impl TryFrom<UnparsedArgs> for MailFromArgs
§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.
§impl TryFrom<UnparsedArgs> for RcptToArgs
impl TryFrom<UnparsedArgs> for RcptToArgs
§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.