pub enum Rule {
Show 61 variants
EOI,
alpha,
digit,
hexdig,
atext,
atom,
let_dig,
ldh_str,
sub_domain,
domain,
dot_string,
quoted_string,
q_content_smtp,
quoted_pair_smtp,
q_text_smtp,
string,
local_part,
mailbox,
address_literal,
ipv4_address_literal,
snum,
ipv6_address_literal,
ipv6_address,
general_address_literal,
tag_content,
dcontent,
standardized_tag,
path,
path_no_angles,
adl,
at_domain,
forward_path,
reverse_path,
null_sender,
mail,
rcpt,
postmaster,
smtp_parameters,
esmtp_param,
esmtp_keyword,
esmtp_value,
complete_domain,
hexchar,
xchar,
xtext,
mech_char,
sasl_mech,
initial_response,
base64,
ehlo,
helo,
data,
rset,
quit,
vrfy,
expn,
help,
noop,
starttls,
auth,
command,
}
Variants§
EOI
End-of-input
alpha
digit
hexdig
atext
atom
let_dig
ldh_str
sub_domain
domain
dot_string
quoted_string
q_content_smtp
quoted_pair_smtp
q_text_smtp
string
local_part
mailbox
address_literal
ipv4_address_literal
snum
ipv6_address_literal
ipv6_address
general_address_literal
tag_content
dcontent
standardized_tag
path
path_no_angles
adl
at_domain
forward_path
reverse_path
null_sender
rcpt
postmaster
smtp_parameters
esmtp_param
esmtp_keyword
esmtp_value
complete_domain
hexchar
xchar
xtext
mech_char
sasl_mech
initial_response
base64
ehlo
helo
data
rset
quit
vrfy
expn
help
noop
starttls
auth
command
Implementations§
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)