pub struct SignalHandle { /* private fields */ }
Implementations§
Source§impl SignalHandle
impl 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.
Auto Trait Implementations§
impl !Freeze for SignalHandle
impl RefUnwindSafe for SignalHandle
impl Send for SignalHandle
impl Sync for SignalHandle
impl Unpin for SignalHandle
impl UnwindSafe for SignalHandle
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