pub struct Matchers {
pub in_interface: Option<Interface>,
pub out_interface: Option<Interface>,
pub src_addr: Option<Address>,
pub dst_addr: Option<Address>,
pub transport_protocol: Option<TransportProtocol>,
}
Expand description
Extension type for [fnet_filter::Matchers
].
Fields§
§in_interface: Option<Interface>
§out_interface: Option<Interface>
§src_addr: Option<Address>
§dst_addr: Option<Address>
§transport_protocol: Option<TransportProtocol>
Trait Implementations§
impl StructuralPartialEq for Matchers
Auto Trait Implementations§
impl Freeze for Matchers
impl RefUnwindSafe for Matchers
impl Send for Matchers
impl Sync for Matchers
impl Unpin for Matchers
impl UnwindSafe for Matchers
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