pub enum MatchDecision<'a> {
Matched(&'a Action),
NeedIp,
}Expand description
Result of a lazy match attempt that may require DNS resolution.
Variants§
Matched(&'a Action)
A rule matched without needing an IP address.
NeedIp
An IP-based rule appeared before any match; resolve and retry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MatchDecision<'a>
impl<'a> RefUnwindSafe for MatchDecision<'a>
impl<'a> Send for MatchDecision<'a>
impl<'a> Sync for MatchDecision<'a>
impl<'a> Unpin for MatchDecision<'a>
impl<'a> UnsafeUnpin for MatchDecision<'a>
impl<'a> UnwindSafe for MatchDecision<'a>
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