pub enum Expression {
Show 26 variants Immediate(Immediate), List(Vec<Self>), Concat { concat: Vec<Self>, }, Set { set: Vec<Self>, }, Map { map: Map, }, Prefix { prefix: Prefix, }, Range { range: (Immediate, Immediate), }, Payload { payload: Payload, }, Exthdr { exthdr: Exthdr, }, IpOption { ip_option: IpOption, }, TcpOption { tcp_option: TcpOption, }, SctpChunk { sctp_chunk: SctpChunk, }, Meta { meta: Meta, }, Rt { rt: Rt, }, Ct { ct: Ct, }, Numgen { numgen: Numgen, }, Hash(Hash), Fib { fib: Fib, }, Xfrm { ipsec: Xfrm, }, Binary(Binary), Verdict(Verdict), Elem { elem: Elem, }, Socket { socket: Socket, }, Osf { osf: Osf, }, Synproxy { synproxy: Option<Synproxy>, }, Tproxy { tproxy: Tproxy, },
}

Variants§

§

Immediate(Immediate)

§

List(Vec<Self>)

§

Concat

Fields

§concat: Vec<Self>
§

Set

Fields

§set: Vec<Self>
§

Map

Fields

§map: Map
§

Prefix

Fields

§prefix: Prefix
§

Range

Fields

§

Payload

Fields

§payload: Payload
§

Exthdr

Fields

§exthdr: Exthdr
§

IpOption

Fields

§ip_option: IpOption
§

TcpOption

Fields

§tcp_option: TcpOption
§

SctpChunk

Fields

§sctp_chunk: SctpChunk
§

Meta

Fields

§meta: Meta
§

Rt

Fields

§rt: Rt
§

Ct

Fields

§ct: Ct
§

Numgen

Fields

§numgen: Numgen
§

Hash(Hash)

§

Fib

Fields

§fib: Fib
§

Xfrm

Fields

§ipsec: Xfrm
§

Binary(Binary)

§

Verdict(Verdict)

§

Elem

Fields

§elem: Elem
§

Socket

Fields

§socket: Socket
§

Osf

Fields

§osf: Osf
§

Synproxy

Fields

§synproxy: Option<Synproxy>
§

Tproxy

Fields

§tproxy: Tproxy

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.