pub struct RegistryClientHandle { /* private fields */ }Expand description
FFI handle for a RegistryClient.
The inner client is wrapped in a RwLock so concurrent ops
(entry points are called from many threads in async runtimes)
can share read access while a set_deadline writer
serializes. last_error_detail lives behind a separate
parking_lot::Mutex; the lifetime contract for pointers
returned by net_registry_last_error_detail is “valid
until the next op on this handle or until free”.
Auto Trait Implementations§
impl !Freeze for RegistryClientHandle
impl !RefUnwindSafe for RegistryClientHandle
impl Send for RegistryClientHandle
impl Sync for RegistryClientHandle
impl Unpin for RegistryClientHandle
impl UnsafeUnpin for RegistryClientHandle
impl !UnwindSafe for RegistryClientHandle
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