Enum nreplops_tool::conn_expr::parser::Rule
source · pub enum Rule {
Show 25 variants
EOI,
connection_expr,
tunneled_connection_expr,
remote_connection_expr,
local_connection_expr,
host_key_expr,
host_key_leading_char,
host_key_char,
user,
user_char,
port_set_expr,
port_set,
port_range,
port,
addr_and_port,
addr_expr,
addr,
domain_addr,
domain_label,
ipv6_addr,
ls32,
h16,
ipv4_addr,
dec_octet,
end,
}Expand description
Variants§
EOI
End-of-input
connection_expr
tunneled_connection_expr
remote_connection_expr
local_connection_expr
host_key_expr
host_key_leading_char
host_key_char
user
user_char
port_set_expr
port_set
port_range
port
addr_and_port
addr_expr
addr
domain_addr
domain_label
ipv6_addr
ls32
h16
ipv4_addr
dec_octet
end
Implementations§
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl Parser<Rule> for ConnectionExprLanguage
impl Parser<Rule> for ConnectionExprLanguage
source§impl PartialEq for Rule
impl PartialEq for Rule
source§impl PartialOrd for Rule
impl PartialOrd for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Rule
impl Eq for Rule
impl StructuralEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.