pub struct SocketProtectorGuard { /* private fields */ }Expand description
Exclusive process-scoped socket protection registration.
Android VPN services should run their private node in a dedicated process. A second registration fails instead of replacing a callback used by live sockets.
Trait Implementations§
Source§impl Drop for SocketProtectorGuard
impl Drop for SocketProtectorGuard
Auto Trait Implementations§
impl !RefUnwindSafe for SocketProtectorGuard
impl !UnwindSafe for SocketProtectorGuard
impl Forget for SocketProtectorGuard
impl Freeze for SocketProtectorGuard
impl Send for SocketProtectorGuard
impl Sync for SocketProtectorGuard
impl Unpin for SocketProtectorGuard
impl UnsafeUnpin for SocketProtectorGuard
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