pub trait SocketProtector: Send + Sync {
// Required method
fn protect(&self, fd: RawFd) -> Result<()>;
}Expand description
Host callback used where every Reticulum underlay socket must be explicitly
excluded from an application VPN, notably Android VpnService.protect().
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".