pub struct SIGNAL_HANDLE { /* private fields */ }
Methods from Deref<Target = SignalHandle>§
Sourcepub fn update_client_singleton(&self, client: Weak<VpnClient>)
pub fn update_client_singleton(&self, client: Weak<VpnClient>)
Set the current client singleton to the given client. This is used when signal handler is called to send command to the client.
Trait Implementations§
Source§impl Deref for SIGNAL_HANDLE
impl Deref for SIGNAL_HANDLE
Source§type Target = SignalHandle
type Target = SignalHandle
The resulting type after dereferencing.
Source§fn deref(&self) -> &SignalHandle
fn deref(&self) -> &SignalHandle
Dereferences the value.
impl LazyStatic for SIGNAL_HANDLE
Auto Trait Implementations§
impl Freeze for SIGNAL_HANDLE
impl RefUnwindSafe for SIGNAL_HANDLE
impl Send for SIGNAL_HANDLE
impl Sync for SIGNAL_HANDLE
impl Unpin for SIGNAL_HANDLE
impl UnwindSafe for SIGNAL_HANDLE
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