[−][src]Enum wirefilter::LhsValue
An LHS value provided for filter execution.
These are passed to the execution context and are used by filters for execution and comparisons.
Variants
Ip(IpAddr)
An IPv4 or IPv6 field.
These are represented as a single type to allow interop comparisons.
Bytes(&'a [u8])
A raw bytes or a string field.
These are completely interchangeable in runtime and differ only in syntax representation, so we represent them as a single type.
Int(i32)
A 32-bit integer number.
Bool(bool)
A boolean.
Trait Implementations
impl<'a> GetType for LhsValue<'a>
[src]
impl<'a> PartialEq<LhsValue<'a>> for LhsValue<'a>
[src]
impl<'a> From<&'a str> for LhsValue<'a>
[src]
impl<'a> From<IpAddr> for LhsValue<'a>
[src]
impl<'a> From<&'a [u8]> for LhsValue<'a>
[src]
impl<'a> From<i32> for LhsValue<'a>
[src]
impl<'a> From<bool> for LhsValue<'a>
[src]
impl<'a> Clone for LhsValue<'a>
[src]
fn clone(&self) -> LhsValue<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Eq for LhsValue<'a>
[src]
impl<'a> Debug for LhsValue<'a>
[src]
impl<'de: 'a, 'a> Deserialize<'de> for LhsValue<'a>
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,