pub struct CloseHandle(/* private fields */);
Expand description
Handle used to close the server. Can be cloned and passed around to different threads and be used
to close a server that is wait()
ing.
Implementations§
Source§impl CloseHandle
impl CloseHandle
Trait Implementations§
Source§impl Clone for CloseHandle
impl Clone for CloseHandle
Source§fn clone(&self) -> CloseHandle
fn clone(&self) -> CloseHandle
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CloseHandle
impl !RefUnwindSafe for CloseHandle
impl Send for CloseHandle
impl Sync for CloseHandle
impl Unpin for CloseHandle
impl !UnwindSafe for CloseHandle
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