pub struct EngineConfig {
pub vm_fd: RawFd,
pub backend: Box<dyn FrameTransport>,
pub policy: PolicyEngine,
pub dns: DnsInterceptor,
}Expand description
Packet relay engine configuration.
Fields§
§vm_fd: RawFdUnixgram socket FD connected to the VM.
backend: Box<dyn FrameTransport>Host backend transport (TAP device or vmnet).
policy: PolicyEnginePolicy engine for allow/deny decisions.
dns: DnsInterceptorDNS interceptor for gateway-bound DNS queries.
Auto Trait Implementations§
impl !Freeze for EngineConfig
impl !RefUnwindSafe for EngineConfig
impl !Send for EngineConfig
impl !Sync for EngineConfig
impl Unpin for EngineConfig
impl UnsafeUnpin for EngineConfig
impl !UnwindSafe for EngineConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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