Skip to main content

Module rfc2822

Module rfc2822 

Source
Available on crate feature parsing only.
Expand description

Rules defined in RFC 2822.

Constantsยง

DEPTH_LIMIT ๐Ÿ”’

Functionsยง

ccontent ๐Ÿ”’
Consume the ccontent rule.
cfws ๐Ÿ”’
Consume the cfws rule.
comment ๐Ÿ”’
Consume the comment rule.
ctext ๐Ÿ”’
Consume the ctext rule.
fws ๐Ÿ”’
Consume the fws rule.
no_ws_ctl ๐Ÿ”’
Consume the no_ws_ctl rule.
opt_cfws ๐Ÿ”’
Optional cfws rule. This is equivalent to opt(cfws), but is better optimized for the common case where no cfws is present.
opt_cfws_colon_opt_cfws ๐Ÿ”’
Equivalent to opt(cfws), ascii_char::<b':'>, and opt(cfws) called in sequence, but is better optimized for the common case where no cfws is present.
quoted_pair ๐Ÿ”’
Consume the quoted_pair rule.
text ๐Ÿ”’
Consume the text rule.
zone_literal ๐Ÿ”’
Consume an old zone literal, returning the offset in hours.